
/***************************************************************************
*			Title: STYL Other EA Table Cleaning
*			Output:
*			Date:
****************************************************************************/




// SET PROGRAMS

		cap program drop clother4w_b
		program def clother4w_b

		* Verify that resp answer no to the activity we want to move it to
			*ta ${repl}4w_b if $if
			assert ${repl}4w_b == "0" if $if

		* Verify that the whole sequence of the activity we want to move it to is empty
			foreach x in specify_b owner_b 4wdys_b  4whrs_b 4wprof_b 4wprofunit_b 4wcash_b 4wcashunit_b  7ddys_b  7dcash_b  7dcashunit_b  1dcash_b  1dcashunit_b {
				*ta ${repl}`x' if $if
				assert ${repl}`x' == "" | ${repl}`x' == "." if $if
			}

		* Move the activity other to repl
			foreach x in owner_b 4w_b 4wdys_b  4whrs_b 4wprof_b 4wprofunit_b   4wcash_b  4wcashunit_b 7ddys_b  7dcash_b  7dcashunit_b  1dcash_b  1dcashunit_b {
				replace ${repl}`x' = ${oth}`x' if $if
				replace ${oth}`x' = "" if $if
			}
			replace ${oth}4w_b = "0" if $if
			replace ${repl}specify_b = ${oth}specify_b if $if

		* Check Other is empty
			foreach x in owner_b 4wdys_b  4whrs_b 4wprof_b 4wprofunit_b  4wcash_b 4wcashunit_b 7ddys_b  7dcash_b  7dcashunit_b 1dcash_b 1dcashunit_b {
				*ta ${oth}`x' if $if
				assert ${oth}`x' == "" |  ${oth}`x' == "." if $if
			}

			replace ${oth}specify_b ="" if $if
		end

* *


	* ENDLINE EA Tables

		cap program drop clother
		program def clother

		* Verify that resp answer no to the activity we want to move it to
			* 2w_e is for p1_e5m only
			*d ${repl}2w_e ${repl}4w_e
			assert ${repl}2w_e == "0" | ${repl}2w_e == "" | ${repl}2w_e == "."  if $if
			assert ${repl}4w_e == "0" | ${repl}4w_e == "" | | ${repl}4w_e == "." if $if

		* Verify that the whole sequence of the activity we want to move it to is empty
			foreach x in specify_e owner_e 7ddys_e 7dhrs_e 7dcash_e 7dcashunit_e 7dprof_e 7dprofunit_e prev7ddys_e prev7dhrs_e prev7dcash_e prev7dcashunit_e prev7dprof_e prev7dprofunit_e 4wdys_e  4whrs_e  4wcash_e  4wcashunit_e 2winventoryamt_e   2winventoryamtunit_e  2wequipmentamt_e  2wequipmentamtunit_e  2wmaterialsamt_e  2wmaterialsamtunit_e  2wbizstructamt_e  2wbizstructamtunit_e  mercsval_e   mercsvalunit_e  equipval_e equipvalunit_e rawmatval_e rawmatvalunit_e structval_e  structvalunit_e{
				*d  ${repl}`x'
				assert ${repl}`x' == "" | ${repl}`x' == " " | ${repl}`x' == "." if $if
			}

		* Move the activity other to repl
			foreach x in 4w_e 2w_e owner_e 7ddys_e 7dhrs_e 7dcash_e 7dcashunit_e 7dprof_e 7dprofunit_e prev7ddys_e prev7dhrs_e prev7dcash_e prev7dcashunit_e prev7dprof_e prev7dprofunit_e 4wdys_e  4whrs_e  4wcash_e  4wcashunit_e 2winventoryamt_e   2winventoryamtunit_e  2wequipmentamt_e  2wequipmentamtunit_e  2wmaterialsamt_e  2wmaterialsamtunit_e  2wbizstructamt_e  2wbizstructamtunit_e  mercsval_e   mercsvalunit_e  equipval_e equipvalunit_e rawmatval_e rawmatvalunit_e structval_e  structvalunit_e{
				replace ${repl}`x' = $oth`x' if $if
				replace ${oth}`x' = "" if $if
			}
			replace ${oth}2w_e = "0" if $if
			replace ${oth}4w_e = "0" if $if

		* Check Other is empty
			foreach x in owner_e 7ddys_e 7dhrs_e 7dcash_e 7dcashunit_e 7dprof_e 7dprofunit_e prev7ddys_e prev7dhrs_e prev7dcash_e prev7dcashunit_e prev7dprof_e prev7dprofunit_e 4wdys_e  4whrs_e  4wcash_e  4wcashunit_e 2winventoryamt_e   2winventoryamtunit_e  2wequipmentamt_e  2wequipmentamtunit_e  2wmaterialsamt_e  2wmaterialsamtunit_e  2wbizstructamt_e  2wbizstructamtunit_e  mercsval_e   mercsvalunit_e  equipval_e equipvalunit_e rawmatval_e rawmatvalunit_e structval_e  structvalunit_e{
				assert ${oth}`x' == "" if $if
			}

			replace ${oth}specify_e = "" if $if
		end

* *

	cap program drop dcount4w
	program def dcount4w
		foreach x in owner_e 4wdys_e 4whrs_e 4wcash_e 4wcashunit_e  7ddys_e 7dhrs_e 7dcash_e 7dcashunit_e 7dprof_e 7dprofunit_e prev7ddys_e prev7dhrs_e prev7dcash_e prev7dcashunit_e prev7dprof_e prev7dprofunit_e  2winventoryamt_e   2winventoryamtunit_e  2wequipmentamt_e  2wequipmentamtunit_e  2wmaterialsamt_e  2wmaterialsamtunit_e  2wbizstructamt_e  2wbizstructamtunit_e  mercsval_e   mercsvalunit_e  equipval_e equipvalunit_e rawmatval_e rawmatvalunit_e structval_e  structvalunit_e{
			replace ${oth}`x' = "" if $if
		}
		replace ${oth}2w_e = "0" if $if
		replace ${oth}4w_e = "0" if $if
		replace ${oth}specify_e = "" if $if
	end


	cap program drop dcount4w_b
	program def dcount4w_b
		foreach x in 4wdys_b 4whrs_b 4wcash_b 4wcashunit_b  4wprof_b 4wprofunit_b {
			replace ${oth}`x' = "" if $if
		}
		replace ${oth}4w_b = "0" if $if
		replace ${oth}specify_b = "" if $if
	end

// TEMP CLEANING ACCORDING SKIP PATTERNS

	*replace carloadowner_e = . if carloadowner_e == 1 & surveyid == 300611

// EA:

	// Populate 	houseclswp with clean, brush and cook for p1_b

	* Generate new variables to be populated
		gen houseclswp7ddys_b =.
		gen houseclswp7dcash_b = .
		gen houseclswp7dcashunit_b = .
		gen houseclswp1dcash_b = .
		gen houseclswp1dcashunit_b = .
		placevar houseclswp7ddys_b houseclswp7dcash_b houseclswp7dcashunit_b houseclswp1dcash_b houseclswp1dcashunit_b, after (houseclswp4wcashunit_b)

		replace  houseclswp4w_b = 1 if clean4w_b ==1 | cook4w_b ==1 | brush4w_b==1
		replace  houseclswp4w_b = 0 if clean4w_b ==0 & cook4w_b ==0 & brush4w_b ==0

	* For the people who declared only one out of 3 activities
		egen temp = rowtotal (clean4w_b cook4w_b brush4w_b)
		foreach x in 7ddys_b 7dcash_b 7dcashunit_b 4wdys_b 4whrs_b 4wcash_b 4wcashunit_b 1dcash_b 1dcashunit_b {
			replace houseclswp`x' = clean`x' if houseclswp`x' ==. & temp ==1
			replace houseclswp`x' = cook`x' if houseclswp`x' ==. & temp ==1
			replace houseclswp`x' = brush`x' if houseclswp`x' ==. & temp ==1
		}
		drop temp
		replace houseclswp4w_b = 0 if workoth14wspecify_b =="WASH CLOTHES" & houseclswp4w_b ==.
	 * 4 people declared 2 activities

		* 1 *
		*edit  clean4w_b-  cook1dcashunit_b brush4w_b- brush1dcashunit_b if partid==74315200
		*edit  clean4w_b-  cook1dcashunit_b brush4w_b- brush1dcashunit_b if partid==74487375
		*edit  clean4w_b-  cook1dcashunit_b brush4w_b- brush1dcashunit_b if partid==74212418
		*edit  clean4w_b-  cook1dcashunit_b brush4w_b- brush1dcashunit_b if partid==74233318

		* 2 * We reconcile the info from different activities ==> see excel file

		* 3 * We enter manually the information for each partid

			 * 74315200
				replace houseclswp4wdys_b =3 if partid == 74315200
				replace houseclswp4whrs_b =3.7 if partid == 74315200
				replace houseclswp4wcash_b  =600 if partid == 74315200
				replace houseclswp4wcashunit_b  =1 if partid == 74315200
				replace houseclswp7ddys_b  = 1 if partid == 74315200
				replace houseclswp7dcash_b  =0 if partid == 74315200
				replace houseclswp7dcashunit_b  =1 if partid == 74315200
				replace houseclswp1dcash_b  = 375 if partid == 74315200
				replace houseclswp1dcashunit_b =1 if partid == 74315200

			* 74487375
				replace houseclswp4wdys_b = 33 if partid == 74487375
				replace houseclswp4whrs_b =1.63 if partid == 74487375
				replace houseclswp4wcash_b  = 2650 if partid == 74487375
				replace houseclswp4wcashunit_b  = 1 if partid == 74487375
				replace houseclswp7ddys_b  = 7 if partid == 74487375
				replace houseclswp7dcash_b  =450 if partid == 74487375
				replace houseclswp7dcashunit_b  = 1 if partid == 74487375
				replace houseclswp1dcash_b  = 375 if partid == 74487375
				replace houseclswp1dcashunit_b = 1 if partid == 74487375

			 *  74212418
				replace houseclswp4wdys_b = 7 if partid == 74212418
				replace houseclswp4whrs_b = 3.5 if partid == 74212418
				replace houseclswp4wcash_b  = 1080 if partid == 74212418
				replace houseclswp4wcashunit_b  = 1 if partid == 74212418
				replace houseclswp7ddys_b  = 5 if partid == 74212418
				replace houseclswp7dcash_b  = 680 if partid == 74212418
				replace houseclswp7dcashunit_b  = 1 if partid == 74212418
				replace houseclswp1dcash_b  = 375 if partid == 74212418
				replace houseclswp1dcashunit_b = 1 if partid == 74212418

			* 74233318
				replace houseclswp4wdys_b = 8 if partid == 74233318
				replace houseclswp4whrs_b = 2.7 if partid == 74233318
				replace houseclswp4wcash_b  = 550 if partid == 74233318
				replace houseclswp4wcashunit_b  =1 if partid == 74233318
				replace houseclswp7ddys_b  = 3 if partid == 74233318
				replace houseclswp7dcash_b  = 400 if partid == 74233318
				replace houseclswp7dcashunit_b  =1 if partid == 74233318
				replace houseclswp1dcash_b  = 375 if partid == 74233318
				replace houseclswp1dcashunit_b = 1 if partid == 74233318

		* We drop clean, cook and brush as they will never be used again
			drop  clean4w_b - cook1dcashunit_b  brush4w_b- brush1dcashunit_b

	// FIX INCONGRUENCY BETWEEN Act and Activity check before dropping
		replace buysell4w_e =  buysell4w2_e	if surveyid == 200911 & buysell4w2_e!=.
		replace carload4w_e =  carload4w2_e	if surveyid == 203001 & carload4w2_e!=.
		replace carryload4w_e =  carryload4w2_e	if surveyid == 202072 & carryload4w2_e!=.
		replace carryload4w_e =  carryload4w2_e	if surveyid == 202981 & carryload4w2_e !=.
		replace houseclswp4w_e =   houseclswp4w2_e	if surveyid == 202981 & houseclswp4w2_e!=.
		replace workoth14w_e  =   workoth14w2_e 	if (surveyid == 200932 | surveyid == 301111 |surveyid == 301181 |surveyid == 301581 |surveyid == 301691 ) & workoth14w2_e!=.
		replace workoth24w_e  =   workoth24w2_e 	if (surveyid == 201881 | surveyid == 202001 | surveyid == 202471 | surveyid == 202792 | surveyid == 202861 | surveyid == 203261 | surveyid == 300781 | surveyid == 301571 |surveyid == 301631 |surveyid == 301691 ) & workoth24w2_e!=.
 		replace pettytrade2w_e = pettytrade2w2_e if surveyid ==741714733 & pettytrade2w2_e !=.
		replace pettytrade4w_e = pettytrade4w2_e if surveyid ==301251 & pettytrade4w2_e !=.
		replace trade4w_e = trade4w2_e if surveyid ==301251 & trade4w2_e !=.
		replace houseclswp4w_e = houseclswp4w2_e if (surveyid == 301181 | surveyid == 301881) & houseclswp4w2_e!=.
		replace scavenge4w2_e = scavenge4w_e if surveyid == 301841
		replace pettytrade4w_b = pettytrade4w2_b if (surveyid ==300041 |surveyid == 300231 | surveyid ==302341 | surveyid ==303291) & pettytrade4w2_b!=.
		replace trade4w_b= trade4w2_b if (surveyid == 200581 | surveyid == 200582 |surveyid == 302121) & trade4w2_b!=.
		replace carload4w_b= carload4w2_b if (surveyid == 300471 | surveyid == 301851) & carload4w2_b!=.
		replace carryload4w_b= carryload4w2_b if surveyid == 300471   & carryload4w2_b !=.
		replace guard4w_b = guard4w2_b if surveyid == 302871   & guard4w2_b!=.
		replace houseclswp4w_b = houseclswp4w2_b if surveyid == 302121 & houseclswp4w2_b!=.
		replace scavenge4w_b = scavenge4w2_b if surveyid == 302211& scavenge4w2_b!=.
		replace drugsell4w_b = drugsell4w2_b if surveyid == 301471  & drugsell4w2_b!=.
		replace workoth14w_b = workoth14w2_b if (surveyid == 300231 | surveyid == 301971| surveyid == 304481) &workoth14w2_b !=.
		replace workoth24w_b = workoth24w2_b if (surveyid == 301451 | surveyid == 302001) & workoth24w2_b !=.
		replace guard2w_e = guard2w2_e if  surveyid == 746596695   & guard2w2_e !=.

	// DROP 2w2 and 4w2, the Check variable in the Econ Activities table
		foreach x in shop4w  table4w  buysell4w   pettytrade4w  trade4w    office4w  carload4w  carwash4w  moto4w  carryload4w  guard4w    houseclswp4w  scavenge4w   beg4w  farm4w  drugsell4w  workoth14w   workoth24w   shop2w  table2w  buysell2w   pettytrade2w  trade2w   office2w  carload2w  carwash2w   moto2w  carryload2w   guard2w  houseclswp2w  scavenge2w   beg2w  farm2w  drugsell2w  workoth12w  workoth22w  {
			*edit surveyid `x'_e `x'2_e if `x'_e != `x'2_e
			replace `x'_e=`x'2_e if `x'_e != `x'2_e & `x'2_e !=.
			replace `x'2_e=`x'_e if `x'_e != `x'2_e & `x'2_e==.
			assert `x'_e == `x'2_e
			drop  `x'2_e
		}


		foreach x in shop4w  table4w  buysell4w   pettytrade4w  trade4w    office4w  carload4w  carwash4w  moto4w  carryload4w  guard4w    houseclswp4w  scavenge4w   beg4w  farm4w  drugsell4w  workoth14w   workoth24w  {
			*edit surveyid `x'_b `x'2_b if (`x'_b != `x'2_b) & p1==0 & `x'2_b!=.
			replace `x'_b=`x'2_b if `x'_b != `x'2_b & `x'2_b !=.
			replace `x'2_b=`x'_b if `x'_b != `x'2_b & `x'2_b==.
			assert (`x'_b == `x'2_b) if p1==0 & `x'2_b!=.
			drop  `x'2_b
		}

	// MERGE *2wowner_e *4wowner_e into one variable *owner_e

		foreach x in shop table  buysell pettytrade  trade office   carload   carwash   moto   carryload   guard     houseclswp   scavenge    beg   farm   drugsell   workoth1    workoth2   {
			assert (`x'2wowner_e ==. & `x'4wowner_e!=.) | (`x'4wowner_e ==. &`x'2wowner_e!=.) | (`x'4wowner_e ==. &`x'2wowner_e==.)
			egen `x'owner_e = rowtotal(`x'2wowner_e `x'4wowner_e)
			replace `x'owner_e = . if `x'2wowner_e==. & `x'4wowner_e==.
			move `x'owner_e `x'2wowner_e
			drop `x'2wowner_e `x'4wowner_e
		}

	// GENERATE OWNER AT BASELINE

		foreach x in shop table  buysell pettytrade  trade office   carload   carwash   moto   carryload   guard     houseclswp   scavenge    beg   farm   drugsell   workoth1    workoth2   {
			ren `x'4wowner_b `x'owner_b
		}

	// MERGE *2wspecify_e and *4wspecify_e into one variable *specify_e

		foreach x in shop table buysell pettytrade  office workoth1 workoth2  {
			assert (`x'2wspecify_e ==""	& `x'4wspecify_e!="") | (`x'4wspecify_e ==""	 &`x'2wspecify_e!=""	) | (`x'4wspecify_e ==""	 &`x'2wspecify_e==""	)
			gen `x'specify_e = `x'4wspecify_e + " " + `x'2wspecify_e
		 	move `x'specify_e `x'owner_e
			drop `x'2wspecify_e  `x'4wspecify_e
		}

		foreach x in trade {
			assert (`x'2wspecify_e ==. & `x'4wspecify_e!=.) | (`x'4wspecify_e ==. &`x'2wspecify_e!=.) | (`x'4wspecify_e ==. &`x'2wspecify_e==.)
			egen `x'specify_e = rowtotal(`x'2wspecify_e `x'4wspecify_e)
			replace `x'specify_e = . if `x'2wspecify_e==. & `x'4wspecify_e==.
			move `x'specify_e `x'2wspecify_e
			drop `x'2wspecify_e `x'4wspecify_e
		}

		foreach x in shop table buysell pettytrade trade office workoth1 workoth2   {
			ren `x'4wspecify_b `x'specify_b
		}

		foreach x in farm carryload carload drugsell carwash moto houseclswp guard beg scavenge {
			gen `x'specify_e = ""
			move `x'specify_e `x'owner_e
			gen `x'specify_b = ""
			move `x'specify_b  `x'4w_b

		}

	// GENERATE MISSING VARIABLES FOR p1_b

		gen table1dcashunit_b  = ""
		gen table1dcash_b = ""
		gen table7dcashunit_b =""
		gen table7dcash_b = ""
		gen table7ddys_b  = ""

	// GENERATE NEW ECO ACT CATEGORIES

	* Endline

		foreach y in stealing contract gambling smallbiz constr fish goldrubber other  {
			foreach x in owner_e specify_e 4wdys_e 4whrs_e 4wcash_e 4wcashunit_e 7ddys_e 7dhrs_e 7dcash_e 7dcashunit_e 7dprof_e 7dprofunit_e prev7ddys_e prev7dhrs_e prev7dcash_e prev7dcashunit_e prev7dprof_e prev7dprofunit_e  2winventoryamt_e   2winventoryamtunit_e  2wequipmentamt_e  2wequipmentamtunit_e  2wmaterialsamt_e  2wmaterialsamtunit_e  2wbizstructamt_e  2wbizstructamtunit_e  mercsval_e   mercsvalunit_e  equipval_e equipvalunit_e rawmatval_e rawmatvalunit_e structval_e  structvalunit_e    {
				gen `y'`x' = ""
			}
			foreach x in 4w_e 2w_e {
				gen `y'`x' = 0
			}

		}
		placevar stealing4wdys_e-otherspecify_e, after (workoth22wbizstructamtunit_e)

	* Baseline

		foreach y in stealing contract gambling smallbiz constr fish goldrubber other  {
			foreach x in owner_b specify_b 4whrs_b 4wcash_b 4wcashunit_b 4wprof_b 4wprofunit_b   4wdys_b  7ddys_b  7dcash_b  7dcashunit_b  1dcash_b  1dcashunit_b {
				gen `y'`x' = ""
			}
			foreach x in   4w_b {
				gen `y'`x' = "0"
			}
		}
		placevar stealing4wdys_b-otherspecify_b, after (workoth21dcashunit_b)

		foreach y in shop table buysell pettytrade trade office workoth1 workoth2 farm carryload carload drugsell carwash moto houseclswp guard beg scavenge stealing contract gambling smallbiz constr fish goldrubber other {
			foreach x in specify_e owner_e 2w_e 4w_e 4w_b 4whrs_b 4wcash_b 4wcashunit_b 4wprof_b 4wprofunit_b 4wdys_b  7ddys_b  7dcash_b  7dcashunit_b  1dcash_b  1dcashunit_b 4w_b  owner_b specify_b 4wdys_e 4whrs_e 4wcash_e 4wcashunit_e   7ddys_e 7dhrs_e 7dcash_e 7dcashunit_e 7dprof_e 7dprofunit_e prev7ddys_e prev7dhrs_e prev7dcash_e prev7dcashunit_e prev7dprof_e prev7dprofunit_e  2winventoryamt_e   2winventoryamtunit_e  2wequipmentamt_e  2wequipmentamtunit_e  2wmaterialsamt_e  2wmaterialsamtunit_e  2wbizstructamt_e  2wbizstructamtunit_e  mercsval_e   mercsvalunit_e  equipval_e equipvalunit_e rawmatval_e rawmatvalunit_e structval_e  structvalunit_e {
				qui ds `y'`x', has(type numeric)
				foreach var in `r(varlist)' {
					label values `var' .
					tostring  `var', replace
					*d  `var'
			}
		}
	 }

	// TRIM specify
		ren workoth1specify_e workoth1specifytemp_e
		gen workoth1specify_e = trim(workoth1specifytemp_e)

		ren workoth2specify_e workoth2specifytemp_e
		gen workoth2specify_e = trim(workoth2specifytemp_e)

		ren workoth1specify_b workoth1specifytemp_b
		gen workoth1specify_b = trim(workoth1specifytemp_b)

		ren workoth2specify_b workoth2specifytemp_b
		gen workoth2specify_b = trim(workoth2specifytemp_b)

		placevar table1dcashunit_b- workoth2specify_b, after ( otherspecify_e)
		placevar  shopmercvalunit_e tablemercvalunit_e buysellmercvalunit_e trademercvalunit_e officemercvalunit_e carloadmercvalunit_e carwashmercvalunit_e motomercvalunit_e carryloadmercvalunit_e guardmercvalunit_e houseclswpmercvalunit_e scavengemercvalunit_e begmercvalunit_e farmmercvalunit_e drugsellmercvalunit_e workoth1mercvalunit_e workoth2mercvalunit_e, after(workoth2specify_b)

	// TEMP CLEANING ACCORDING SKIP PATTERNS

		replace carloadowner_e = "" if carloadowner_e == "1" & (surveyid == 300611 | surveyid == 303181)
		replace carloadowner_e = "" if carloadowner_e == "2" & surveyid == 302511



	// POPULATE ACTIVITIES
		* We have 2 categories workoth1 and workoth2, where we asked about other activities they might doing.
		* In some instances, we move back to existing categories
		* In some instances, we create new categories

		* SELLING DRUGS


			gl if workoth2specify_e =="Drugs"
			gl oth = "workoth2"
			gl repl = "drugsell"
			clother

			gl if workoth1specify_e == "Sell opuion"
			gl oth = "workoth1"
			gl repl = "drugsell"
			clother

			gl if workoth1specify_e=="Help a friend to push drugs."
			gl oth = "workoth1"
			gl repl = "drugsell"
			clother


			gl if workoth1specify_b == "DRUG AGENT" | workoth1specify_b == "SELLING DRUG"
			gl oth = "workoth1"
			gl repl = "drugsell"
			clother4w_b

			* Here this guy already declared that he was selling drugs == > move to other
				*edit workoth24w*_b drugsell4w*_b if workoth2specify_b =="Selling opium"
				gl if workoth2specify_b =="Selling opium"
				gl oth = "workoth2"
				gl repl = "other"
				clother4w_b

			* Here this guy already declared that he was selling drugs == > move to other
				* Note that maybe we should move it to "other illegal"
				*edit workoth14w*_b drugsell4w*_b if workoth1specify_b == "Sell drugs"
				gl if  workoth1specify_b == "Sell drugs"
				gl oth = "workoth1"
				gl repl = "other"
				clother4w_b

			* double counting
				*edit workoth12w*_e drugsell2w*_e if workoth1specify_e == "DRUGE"
				gl if  workoth1specify_e == "DRUGE"
				gl oth = "workoth1"
				dcount4w
				*dcount2w

		*  BUYING AND SELLING
			* (Here we don't make distinction between the type of buying and selling and put everything in petty trade (even if some are wheelbarrow boy we assume that the repartition between different buying and selling doesnt' amtter)

			** Reason for partid checks in this script.**

			* Sometimes, people declare the same or similar activities in workoth1 and/or workoth2. In that case, we do ID checks and move them on a case by case basis. For example, id 30180 and 30072 are both 'Selling sand' for workoth2. However, 30180 already has tradespecify_e = 1. Thus, for 30180, we move 'Selling sand' to other whereas for 30072, we move 'Selling sand' to pettytrade.

			* Similarly, 30015 declared 'Fishing' under workoth1 and workoth2. For the second 'Fishing', we move it to other.


			gl if  workoth2specify_e=="Selling phones"|  workoth2specify_e== "Buy and sell water"  | workoth2specify_e =="Wheelbarrow" | workoth2specify_e =="Wheelbarrow boy" | workoth2specify_e =="Sell gas" | workoth2specify_e =="Sell value goods"  | workoth2specify_e =="Selling" | workoth2specify_e =="Selling tickets" | workoth2specify_e =="Buy and sell used materials, and sometimes loan money, which is usually paid with interest." | workoth2specify_e=="Draw water for people"|  workoth2specify_e=="Drawing water for money"	|   workoth2specify_e=="Gas"	|  workoth2specify_e=="Going to sell for people"	|  workoth2specify_e=="Sell small small itens from the free port"	|   workoth2specify_e=="Selling used clothes"
			gl oth = "workoth2"
			gl repl = "pettytrade"
			clother

			gl if  workoth2specify_e=="Selling tablets for friend"|	workoth2specify_e=="Sell tarpauline"|	workoth2specify_e=="Sell fuel"|	workoth2specify_e=="I kill dog cook it sell it"|	workoth2specify_e=="Selling memory chipe."|	workoth2specify_e=="sell sneaker"|	workoth2specify_e=="Exchange money and selll scratch"
			gl oth = "workoth2"
			gl repl = "pettytrade"
			clother

			gl if workoth1specify_e=="Bought cell phones and sold it."| workoth1specify_e=="Selling children shoes."| workoth1specify_e=="Selling bkock  and csment" | workoth1specify_e=="Sell pack of cigerrite"
			gl oth = "workoth1"
			gl repl = "pettytrade"
			clother


			*these people are already selling stuff -- move to other
			gl if workoth2specify_e=="Dry Goods."	| workoth2specify_e=="Sell used clothes"	|  workoth2specify_e=="Sell water around"
			gl oth = "workoth2"
			gl repl = "other"
			clother


			gl if  workoth2specify_e =="Sold my phone" | workoth2specify_e == "Buying DK for my" | workoth2specify_e =="Sell tablets" | workoth2specify_e =="Selling plastic sheets around"
			gl oth = "workoth2"
			gl repl = "pettytrade"
			clother

			gl if  workoth2specify_e=="Sell jackets" |  	workoth2specify_e=="I sold motocycle oil" |  	workoth2specify_e=="Foot wear" |  	workoth2specify_e=="Fixed food like bread and cookies" |  	workoth2specify_e=="Water pum,selling water from it." |  	workoth2specify_e=="Sell waterin push push" |  	workoth2specify_e=="Sale of empty plastic"
			gl oth = "workoth2"
			gl repl = "pettytrade"
			clother

			gl if  workoth1specify_e =="Buy and sell used phones"  | workoth1specify_e == "Buy and Sell  phone" | workoth1specify_e == "Buy old rubber slippers and sell" | workoth1specify_e == "Buy phones on the side and resell it."  | workoth1specify_e == "Sales of gasoline" 	| workoth1specify_e == "Sell on commission" | workoth1specify_e == "MATCHES SELLING"  |	workoth1specify_e == "Sell scratch card"  | workoth1specify_e == "Sell sneakers"   | workoth1specify_e == "Sell woman wear" |	workoth1specify_e == "Weelbarrow boy" | workoth1specify_e == "Wheelbarrow boy"  | workoth1specify_e == "Cell phone around [used phone]" | workoth1specify_e == "Help a friend to sell"   | workoth1specify_e == "Help my brother sometime to sell"  | workoth1specify_e == "Help my friend to sell his big mirrior"  |  workoth1specify_e == "Help to sell furniture in central Monrovia"
			gl oth = "workoth1"
			gl repl = "pettytrade"
			clother

			gl if  workoth1specify_e=="Buying and selling blackdeed phones." | 	workoth1specify_e=="Buying and selling blackdeed phones." | 	workoth1specify_e=="Buying of scraps" | 	workoth1specify_e=="Sell cream" | 	workoth1specify_e=="Sell plank" | 	workoth1specify_e=="Selling Blackdeed phone" | 	workoth1specify_e=="Selling blackdeed phone" | 	workoth1specify_e=="Selling cloride" | 	workoth1specify_e=="Selling coal pot."  | 	workoth1specify_e=="Selling of black deeds things" | 	workoth1specify_e=="Selling of slappers." | 	workoth1specify_e=="Selling water in containers" | 	workoth1specify_e=="Water selling in container"  | 	workoth1specify_e=="Sold cellphone" | 	workoth1specify_e=="Sometimes sells for other people."
			gl oth = "workoth1"
			gl repl = "pettytrade"
			clother

			gl if workoth1specify_e =="Selling shaving sticks"	|  workoth1specify_e=="He sells cigarates"	|  workoth1specify_e=="Sell around sometime and mde bag"	|  workoth1specify_e=="Selling of sand" | workoth1specify_e=="Buying things for people" | workoth1specify_e=="We go on the beah and dig sand to go sell it."
			gl oth = "workoth1"
			gl repl = "pettytrade"
			clother

			gl if workoth1specify_e=="Bread making and sales"	| workoth1specify_e=="Burst crush rock for sale"	| workoth1specify_e=="Buying empty beg and reseling it"	| workoth1specify_e=="Sell disc"	| workoth1specify_e=="Sell dishes and slippers,"	|  workoth1specify_e=="Sell sand from the river"	| workoth1specify_e=="Sell water five gallon tins"	|  workoth1specify_e=="Selling chlothes"	| workoth1specify_e=="Selling coalpot"	|  workoth1specify_e=="Sells use phone"	| workoth1specify_e=="Help his sister to sell ladies hair."	| workoth1specify_e=="Plank selling" |workoth1specify_e=="Selling bags of cement"	| workoth1specify_e=="Selling men feet wear"
			gl oth = "workoth1"
			gl repl = "pettytrade"
			clother

			gl if workoth1specify_e=="Buying selling"|	workoth1specify_e=="Selling tarpuline"|	workoth1specify_e=="Selling gas at the gas station."|	workoth1specify_e=="Selling ticket at SKD" | workoth1specify_e=="Renting bicycles" | workoth1specify_e=="Cellphones selling" |  workoth1specify_e=="Selling food"
			gl oth = "workoth1"
			gl repl = "pettytrade"
			clother

			gl if workoth1specify_e=="Sell air freshner and tie soap"|	workoth1specify_e=="Sold blouses"|	workoth1specify_e=="Sells slippers and put pins on it."|	workoth1specify_e=="Sell old shoes around"|	workoth1specify_e=="Sell drug"|	workoth1specify_e=="Bend and salt [phone selling]"|	workoth1specify_e=="Selling feet wear around,like sneakers"
			gl oth = "workoth1"
			gl repl = "pettytrade"
			clother

			*this guy is already selling stuff -- move to other
			gl if workoth1specify_e=="Sell fuel"|  workoth1specify_e=="Buying and sell DVD"	|	workoth1specify_e=="Sell snickers for friend" | workoth1specify_e=="Sold eletronic equipments"	| 	workoth1specify_e=="Selling kerosen." | 	workoth1specify_e=="Sale of fish" | 	workoth1specify_e=="Water selling" | workoth1specify_e=="Sale of sea Sand"
			gl oth = "workoth1"
			gl repl = "other"
			clother


			gl if workoth1specify_b =="Sole mangos" | workoth1specify_b =="Selling crabfish around"  | workoth1specify_b == "Sell cold water" | workoth1specify_b == "Sell feet wear and trousers" | workoth1specify_b == "Sell ushon goods"| workoth1specify_b == "Selling Around" | workoth1specify_b == "Selling around" | workoth1specify_b == "selling fire coal around for people." |  workoth1specify_b == "Sell dry goods"  | workoth1specify_b == "selling black deed" |	workoth1specify_b == "WHEEL BARROW" |	workoth1specify_b == "SELLING USED CLOTHES" |	workoth1specify_b == "Selling custmetics"
			gl oth = "workoth1"
			gl repl = "pettytrade"
			clother4w_b

			gl if workoth1specify_b =="Buying and seling value cloth" | workoth1specify_b =="Buying used things"
			gl oth = "workoth1"
			gl repl = "pettytrade"
			clother4w_b

			* This guy is already selling stuf
				gl if workoth1specify_b=="Selling rocks"
				gl oth = "workoth1"
				gl repl = "other"
				clother4w_b

			gl if workoth1specify_b =="SELLING DOGNUTS" | workoth1specify_b =="Sell Stolen items" | workoth1specify_b =="Sell bottles" | workoth1specify_b =="Sell coal pots" | workoth1specify_b =="Selling rocks" | workoth1specify_b =="Selling sand" | workoth1specify_b =="Selling sand" |  workoth1specify_b =="Selling sand"
			gl oth = "workoth1"
			gl repl = "pettytrade"
			clother4w_b

			gl if   workoth2specify_b == "Sold cellphone for pay"	 | workoth2specify_b == "SELLS KEROSINE" | workoth2specify_b == "Buy cell phones and sell" | workoth2specify_b == "COCAN NUT" | workoth2specify_b == "Wheel barrow boy" | workoth2specify_b == "Sell scrapes"
			gl oth = "workoth2"
			gl repl = "pettytrade"
			clother4w_b

			gl if workoth2specify_b=="Bringing water for people to buy"
			gl oth = "workoth2"
			gl repl = "pettytrade"
			clother4w_b

			gl if workoth2specify_e=="Buy gasoline" |  workoth2specify_e=="Buy used phone and resell" |  workoth2specify_e=="I sold my phone to get money."|	 workoth2specify_e=="Selling tarpauline"|	 workoth2specify_e=="Selling movie discks"|	 workoth2specify_e=="Selling children clothes."|	 workoth2specify_e=="To sell charcoal"|	 workoth2specify_e=="Selling snekers and slippers"
			gl oth = "workoth2"
			gl repl = "pettytrade"
			clother

			*already selling stuff - moved to other
			gl if workoth2specify_e=="Buying and selling used phones" |	 workoth2specify_e=="Sell phone"
			gl oth = "workoth2"
			gl repl = "other"
			clother

			*edit workoth2*_b pettytrade*_b  if workoth2specify_b =="Sell bambo mat" | workoth2specify_b =="Sell black deel fuel." | workoth2specify_b =="Sell cassava" | workoth2specify_b =="Sell interior basket" | workoth2specify_b =="Sell planks" | workoth2specify_b =="Selling" | workoth2specify_b =="Selling food." | (workoth2specify_b =="Selling sand" & surveyid == 300721) | workoth2specify_b =="Selling sand" | workoth2specify_b =="Selling scraps" | workoth2specify_b =="Sold slippers"
			gl if workoth2specify_b =="Sell bambo mat" | workoth2specify_b =="Sell black deel fuel." | workoth2specify_b =="Sell cassava" | workoth2specify_b =="Sell planks" | workoth2specify_b =="Selling" | workoth2specify_b =="Selling food." | (workoth2specify_b =="Selling sand" & (partid == 30072)) | workoth2specify_b =="Selling scraps" | workoth2specify_b =="Sold slippers"
			gl oth = "workoth2"
			gl repl = "pettytrade"
			clother4w_b


			* These guys already declared the same activities
			gl if workoth2specify_b == "Sell interior basket" | (workoth2specify_b == "Selling sand" & (partid == 30180 |surveyid == 30180))
			gl oth = "workoth2"
			dcount4w_b



			* This guy already declared an activity in pettybusiness that is a different one. so we add the activity in shop.
				*edit workoth24w*_e pettytrade4w*_e if workoth2specify_e =="Selling matches"
				gl if workoth2specify_e =="Selling matches"
				gl oth = "workoth2"
				gl repl = "shop"
				clother

			* This guy is already selling fruits, so we put the dirty oil in shop
				*edit workoth14w*_b pettytrade4w*_b if workoth1specify_b == "Sales of dirty oil"
				gl if workoth1specify_b == "Sales of dirty oil"
				gl oth = "workoth1"
				gl repl = "shop"
				clother4w_b

			* This guy declared twice the wheelbarrow business with same days, same hours, same cash == > double counting
				*edit workoth14w*_b pettytrade4w*_b if workoth1specify_b == "Wheel barrow boy"
				gl if workoth1specify_b == "Wheel barrow boy"
				gl oth = "workoth1"
				dcount4w_b

			* This guy declared twice selling costmetics == > double counting
				*edit workoth24w*_b pettytrade4w*_b if workoth2specify_b == "Selling custmetics"
				gl if workoth2specify_b == "Selling custmetics"
				gl oth = "workoth2"
				dcount4w_b

			*  double counting
				*edit workoth12w*_e pettytrade2w*_e if workoth1specify_e == "SELL"
				gl if  workoth1specify_e == "SELL"
				gl oth = "workoth1"
				dcount4w
				*dcount2w

			*  double counting
				*edit workoth12w*_e pettytrade2w*_e if workoth1specify_e == "Gas business"
				gl if   workoth1specify_e == "Gas business"
				gl oth = "workoth1"
				dcount4w
				*dcount2w


		* HOUSECLEANING

			gl if workoth2specify_e=="Clining dirt" | workoth2specify_e =="Brush  catholic compound" | workoth2specify_e =="Weelding"
			gl oth = "workoth2"
			gl repl = "houseclswp"
			clother

			gl if workoth1specify_e == "Did cleaning up for money"
			gl oth = "workoth1"
			gl repl = "houseclswp"
			clother

			gl if workoth1specify_e=="Wash clothes for money"
			gl oth = "workoth1"
			gl repl = "houseclswp"
			clother

			gl if  workoth1specify_e=="Washing /pressing cloths"
			gl oth = "workoth1"
			gl repl = "other"
			clother

			gl if workoth1specify_b =="Clean-up cook shop"
			gl oth = "workoth1"
			gl repl = "houseclswp"
			clother4w_b
			*clother4whousecleaning_b

			*edit houseclswp*_b workoth1*_b if workoth1specify_b =="WASH CLOTHES"
			gl if workoth1specify_b =="WASH CLOTHES"
			gl oth = "workoth1"
			gl repl = "houseclswp"
			clother4w_b
			*clother4whousecleaning_b

			*edit houseclswp*_b workoth1*_b if workoth1specify_b =="Brushing grass."
			gl if workoth1specify_b =="Brushing grass."
			gl oth = "workoth1"
			gl repl = "houseclswp"
			clother4w_b
			*clother4whousecleaning_b

			*edit workoth2*_b houseclswp*_b  if workoth2specify_b =="Washing" | workoth2specify_b =="Washing cloths" | workoth2specify_b =="Wash dk shoes" | workoth2specify_b =="WASH HIS FATHER CLOTHES FOR MONEY" | workoth2specify_b =="Brushing and washing for people"
			gl if workoth2specify_b =="Washing" | workoth2specify_b =="Wash dk shoes" | workoth2specify_b =="WASH HIS FATHER CLOTHES FOR MONEY" | workoth2specify_b =="Brushing and washing for people"
			gl oth = "workoth2"
			gl repl = "houseclswp"
			clother4w_b
			*clother4whousecleaning_b

			* Double counting
				gl if workoth2specify_b == "Washing cloths"
				gl oth = "workoth2"
				dcount4w_b

			* This guy is already doing those stuff, so we move them to others
				*edit houseclswp*_b workoth1*_b if workoth1specify_b =="Do laundry" | workoth1specify_b =="Washing clothes" | workoth1specify_b =="Washing cloths"
				gl if workoth1specify_b =="Do laundry" | workoth1specify_b =="Washing clothes" | workoth1specify_b =="Washing cloths"
				gl oth = "workoth1"
				gl repl = "other"
				clother4w_b


			* This guy is already doing those stuff, so we move them to others
				*edit houseclswp*_b workoth1*_b if workoth1specify_b == "Selling,cleaning etc."
				gl if workoth1specify_b == "Selling,cleaning etc."
				gl oth = "workoth1"
				gl repl = "other"
				clother4w_b

			* This guy is already doing those stuff, so we move them to others
				*edit houseclswp*_b workoth2*_b if workoth2specify_b == "Wash cloths for people for money"
				gl if workoth2specify_b == "Wash cloths for people for money"
				gl oth = "workoth2"
				gl repl = "other"
				clother4w_b

			* Double counting
				*edit houseclswp*_e workoth1*_e if workoth1specify_e == "Brushing/doing contract"
				gl if workoth1specify_e == "Brushing/doing contract"
				gl oth = "workoth1"
				dcount4w
				*dcount2w

		* CAR LOADING

			replace workoth1specify_b = "Loading container (second entry)" if workoth1specify_b =="Loading container" & carload4w_b =="1"
			replace workoth1specify_b = "Loading container (first entry)" if workoth1specify_b =="Loading container" & carload4w_b =="0"

			gl if workoth1specify_e == "Off load contanna" | workoth1specify_e == "Off-load continer"   | workoth1specify_e == "Loading and unloading" |workoth1specify_e == "Car boy" | workoth1specify_e == "Haul sand for money" | workoth1specify_e == "Car boy job."
			gl oth = "workoth1"
			gl repl = "carload"
			clother

			gl if workoth1specify_e=="Hulling cement beg for money"|  workoth1specify_e=="0ff load Truck at the Port."	|  workoth1specify_e=="Loading & unloading goods  at the port."	|  workoth1specify_e=="Off loading containers" | workoth1specify_e=="Offload continue" | workoth1specify_e=="Offloading cars"|	workoth1specify_e=="Loaded and unloaded coal"|	workoth1specify_e=="Carboy job."
			gl oth = "workoth1"
			gl repl = "carload"
			clother

			gl if workoth1specify_e=="Carboy work"	| workoth1specify_e=="Carry load"	| workoth1specify_e=="Casua labor at freeport"	| workoth1specify_e=="Casual work,offloading good from ship."	| workoth1specify_e=="Clearing goods from the port"	| workoth1specify_e=="Hauling rice in the freeport of monrovia."	| workoth1specify_e=="Off load container"	| workoth1specify_e=="Off load continers and carry water for people."	| workoth1specify_e=="Off load ship"	| workoth1specify_e=="Off load wood from th wood truck on the plank field."	| workoth1specify_e=="Off loading and uploading containers."	| workoth1specify_e=="Off loading container"	| workoth1specify_e=="Off loading continor"	| workoth1specify_e=="Off loading ship"	| workoth1specify_e=="Offload 40ft container"	| workoth1specify_e=="Offload fishing canoes"
			gl oth = "workoth1"
			gl repl = "carload"
			clother

			gl if workoth1specify_e=="Offload trucks"	| workoth1specify_e=="Offload trucks"	| workoth1specify_e=="Offloading Container"	| workoth1specify_e=="Offloading continer"	| workoth1specify_e=="Offloading from ships"	| workoth1specify_e=="Offloading goods from the ship at the port."	| workoth1specify_e=="Offloading goods from trucks."	| workoth1specify_e=="Offloading ships"	| workoth1specify_e=="Load carrying"	|  workoth1specify_e=="Loading and off loading containers"	| workoth1specify_e=="Loading container"	| workoth1specify_e=="Loading containers at the freeport"	| workoth1specify_e=="Helping to off load ship"	| workoth1specify_e=="To off load container"	| workoth1specify_e=="Unload container"	| workoth1specify_e=="Up loading and off load"	| workoth1specify_e=="Up loading and off loading in the sea port of monrovia"	| workoth1specify_e=="Pack rice in warehouse"
			gl oth = "workoth1"
			gl repl = "carload"
			clother

			*already car loading, move to other
			gl if workoth1specify_e=="Load container with irons"	| 	workoth1specify_e=="Off  loading continer." | workoth1specify_e=="Off loading Continue." |	workoth1specify_e=="Loading and unloading ship at the Freeport of Monrovia" | 	workoth1specify_e=="Offrod container" | 	workoth1specify_e=="Off loading truck."
			gl oth = "workoth1"
			gl repl = "other"
			clother

			gl if workoth1specify_e =="Helping to offload trucks" |  workoth1specify_e == "loading rubber on cars for firestone" |  workoth1specify_e=="Off laoding containers" |  workoth1specify_e=="Off load container." |  workoth1specify_e=="Off loading and loading cements"
			gl oth = "workoth1"
			gl repl = "carload"
			clother

			gl if workoth2specify_e =="Off loading goods" |  workoth2specify_e=="Labour job at the freeport" |  workoth2specify_e=="Offload goods from the ship in freeport."|	 workoth2specify_e=="I use to load car"
			gl oth = "workoth2"
			gl repl = "carload"
			clother

			gl if workoth1specify_e=="0ff loading Continue." | 	workoth1specify_e=="Container off loading" | 	workoth1specify_e=="Container offloading" | 	workoth1specify_e=="Container offloading" | 	workoth1specify_e=="Container offloading" | 	workoth1specify_e=="Container offloading" | 	workoth1specify_e=="Container offloading" | 	workoth1specify_e=="Containers offloafing."  | 	workoth1specify_e=="Off laoding goods from the ship" | 	workoth1specify_e=="Off load and load vessel" | 	workoth1specify_e=="Off load container from the port." | 	workoth1specify_e=="Off load Contine and load Contine." | 	workoth1specify_e=="Off load continer" | 	workoth1specify_e=="Off load googs from  continer" | 	workoth1specify_e=="Off loading cement" | 	workoth1specify_e=="Off loading containers." | 	workoth1specify_e=="Off loading Contine."
			gl oth = "workoth1"
			gl repl = "carload"
			clother

			gl if  	workoth1specify_e=="Off loading of continer." | 	workoth1specify_e=="Off loading of goods from container."  | 	workoth1specify_e=="Off loadng container" | 	workoth1specify_e=="Offload container" | 	workoth1specify_e=="Offload container" | 	workoth1specify_e=="Offload from the port" | 	workoth1specify_e=="Offloading container" | 	workoth1specify_e=="Offloading container" | 	workoth1specify_e=="Offloading containers" | 	workoth1specify_e=="Offloading containers." | 	workoth1specify_e=="Offloading continer." | 	workoth1specify_e=="Offloading continers" | 	workoth1specify_e=="Offloding crush rocks from a truck" | 	workoth1specify_e=="Offlogging contianers"  | 	workoth1specify_e=="Loading and unloading container"  | 	workoth1specify_e=="Cenment offloading"
			gl oth = "workoth1"
			gl repl = "carload"
			clother

			gl if workoth2specify_e=="Load boat" |  	workoth2specify_e=="Offload contner" |  	workoth2specify_e=="Off load continer at the port sometime" |  	workoth2specify_e=="I can off load continers in vai town." |  	workoth2specify_e=="Load trucks with cement at the freeport" |  	workoth2specify_e=="Off load container" |  	workoth2specify_e=="Loading and offloading containers" |  	workoth2specify_e=="I can go in vai town to off load continers for business people."
			gl oth = "workoth2"
			gl repl = "carload"
			clother

			gl if workoth2specify_e=="Car boy" |  workoth2specify_e=="Load container"|  workoth2specify_e=="Loading and off loading mineral water sacks from aqua life truck." |  workoth2specify_e=="Loading containers truck"|  workoth2specify_e=="Loading/offloading"
			gl oth = "workoth2"
			gl repl = "carload"
			clother

			gl if workoth2specify_e=="Off Load Cement from  a Ship."|  workoth2specify_e=="Off loading container"	|  workoth2specify_e=="Unloading containers"
			gl oth = "workoth2"
			gl repl = "carload"
			clother

			gl if workoth1specify_b == "OFF LOADING TRUCK" |  workoth1specify_b == "OFFLOADING OF CONTAINER AT JOHN F. KENNEDY MEMORIAL HOSPITAL"
			gl oth = "workoth1"
			gl repl = "carload"
			clother4w_b

			*edit other*_b  workoth1*_b if workoth1specify_b=="Loading cars"   | workoth1specify_b=="Offload containers" | workoth1specify_b=="Loading container (second entry)"
			gl if workoth1specify_b=="Loading cars" | workoth1specify_b=="Offload containers" | workoth1specify_b=="Loading container (second entry)"
			gl oth = "workoth1"
			gl repl = "other"
			clother4w_b

			gl if workoth2specify_b == "Off loading truck [daily hire]"
			gl oth = "workoth2"
			gl repl = "carload"
			clother4w_b


			gl if workoth1specify_b =="Off load container at the free port." | workoth1specify_b =="Off loading ship."| workoth1specify_b =="Off-load containers at Beer factory"| workoth1specify_b =="Offload container"| workoth1specify_b =="Offload container"| workoth1specify_b =="Offload container & bost rock"|| workoth1specify_b =="Offload fish or iron from the boat"| workoth1specify_b =="Offloading container"| workoth1specify_b =="Offloading containers"| workoth1specify_b =="Load scraps containers"
			gl oth = "workoth1"
			gl repl = "carload"
			clother4w_b

			* There is a problem here
			*edit carload4w*_b workoth1*_b   if workoth1specify_b =="Loading container (first entry)"
			gl if workoth1specify_b =="Loading container (first entry)"
			gl oth = "workoth1"
			gl repl = "carload"
			clother4w_b

			* TO CHECK
			*edit workoth1*_b carload*_b if  workoth1specify_b =="Loading container (first entry)"	| 		| workoth1specify_b =="Hauling fishing nets, offload cement trucks."	| workoth1specify_b =="LOAD CANOE ON THE BEACH"	| workoth1specify_b =="Put blocks in truck"
			gl if  workoth1specify_b =="Loading container (first entry)"	| 		| workoth1specify_b =="Hauling fishing nets, offload cement trucks."	| workoth1specify_b =="LOAD CANOE ON THE BEACH"	| workoth1specify_b =="Put blocks in truck"
			gl oth = "workoth1"
			gl repl = "carload"
			clother4w_b

			* move to other
			*edit workoth1*_b carload*_b if 	 workoth1specify_b =="Loading cars" | workoth1specify_b =="Loading container (second entry)" | workoth1specify_b =="Offload containers"
			gl oth = "workoth1"
			gl repl = "other"
			clother4w_b

			* TO CHECK
			*edit workoth2*_b carload*_b if workoth2specify_b =="Load and unload cement trucks"	| workoth2specify_b =="OFF_LOAD CONTAINER"	|workoth2specify_b =="OFF_LOAD CONTAINER IN VAI TOWN"	|workoth2specify_b =="Off load"	|workoth2specify_b =="Off load containers & trucks"	|workoth2specify_b =="Off load fishing boat at the port"	|workoth2specify_b =="Off loading container and cracking rock."	|workoth2specify_b =="Off loading container."	|	|workoth2specify_b =="Offload container"	|workoth2specify_b =="Offloading container"	|workoth2specify_b =="Offloading containers"	|workoth2specify_b =="Carboy job, on a pick up truck, going out of town."	| workoth2specify_b =="Load contianer truck"|workoth2specify_b =="Working on ships to off load it."
			gl if workoth2specify_b =="Load and unload cement trucks"	| workoth2specify_b =="OFF_LOAD CONTAINER"	|workoth2specify_b =="OFF_LOAD CONTAINER IN VAI TOWN"	|workoth2specify_b =="Off load"	|workoth2specify_b =="Off load containers & trucks"	|workoth2specify_b =="Off load fishing boat at the port"	|workoth2specify_b =="Off loading container and cracking rock."	|workoth2specify_b =="Off loading container."	|	|workoth2specify_b =="Offload container"	|workoth2specify_b =="Offloading container"	|workoth2specify_b =="Offloading containers"	|workoth2specify_b =="Carboy job, on a pick up truck, going out of town."	| workoth2specify_b =="Load contianer truck"	|workoth2specify_b =="Working on ships to off load it."
			gl oth = "workoth2"
			gl repl = "carload"
			clother4w_b

			*edit workoth2*_b other*_b if workoth2specify_b == "Offload cement truck" |  workoth2specify_b == "Work to off load ship at the port." | 	workoth2specify_b == "Putting loads down from the container"
			gl if workoth2specify_b == "Offload cement truck" | workoth2specify_b == "Putting loads down from the container"
			gl oth = "workoth2"
			gl repl = "other"
			clother4w_b


			* Double counting
				*edit carload*_e workoth12w*_e  workoth22w*_e  if workoth1specify_e == "Loading container for money" | workoth1specify_e == "Loabd cars"
				gl if  workoth1specify_e == "Loading container for money" | workoth1specify_e == "Loabd cars"
				gl oth = "workoth1"
				dcount4w
				*dcount2w

		* CARRY LOAD FOR MONEY

			*edit carryload*_b workoth2*_b if workoth2specify_b == "Pushing wheelbarrow" | workoth2specify_b =="Carry water for people"
			gl if  workoth2specify_b == "Pushing wheelbarrow" | workoth2specify_b =="Carry water for people"
			gl oth = "workoth2"
			gl repl = "carryload"
			clother4w_b

			gl if workoth1specify_e=="Carry sand for money"
			gl oth = "workoth1"
			gl repl = "carryload"
			clother

			gl if  workoth2specify_b =="Helping to carry blocks."
			gl oth = "workoth2"
			gl repl = "other"
			clother4w_b

			gl if workoth1specify_b=="Push-push[carry water in big wheel for sale]"
			gl oth = "workoth1"
			gl repl = "other"
			clother4w_b


		* WATCHMAN JOB


			gl if workoth1specify_e == "Watchman job"  | workoth1specify_e=="Security guard"
			gl oth = "workoth1"
			gl repl = "guard"
			clother

			gl if workoth2specify_e=="Private security"  | workoth2specify_e =="Motorcycle union security" | workoth2specify_e =="Security work." | workoth2specify_e =="Door keeper at a video" | workoth2specify_e =="I went as a special security to a well known money out of town." | workoth2specify_e=="I am doing private securityjob"
			gl oth = "workoth2"
			gl repl = "guard"
			clother

			gl if workoth1specify_e=="Door keeper at a video club"
			gl oth = "workoth1"
			gl repl = "guard"
			clother

			gl if workoth1specify_b=="Observer for brother cannoe"
			gl oth = "workoth1"
			gl repl = "guard"
			clother4w_b


		* EMPLOYEE// OFFICE

			gl  if workoth1specify_e == "Works at gas station" |	workoth1specify_e == "Teaching" |	workoth1specify_e == "Piempiem union secretary"
			gl oth = "workoth1"
			gl repl = "office"
			clother

			gl  if workoth2specify_e=="High school teacher"  | workoth2specify_e == "Piem piem union helper, not fully employ" | workoth2specify_e =="Teaching" | workoth2specify_e =="09Working with motorbike Union as deputy supervisior"
			gl oth = "workoth2"
			gl repl = "office"
			clother

			gl if  workoth1specify_e== "Garbage collector" |	workoth1specify_e== "Takes care of a public toilet"
			gl oth = "workoth1"
			gl repl = "office"
			clother

			gl if workoth2specify_e =="Manager for a motel" |  workoth2specify_e=="Process documents" | workoth2specify_e=="Work st the Central Bank of Liberia"
			gl oth = "workoth2"
			gl repl = "office"
			clother

			gl if  workoth1specify_b =="PEIM-PEIM INSPECTOR"
			gl oth = "workoth1"
			gl repl = "office"
			clother4w_b

		* TRADE


			gl if  workoth1specify_e == "Cabman driving" | workoth1specify_e == "Sewing" | workoth1specify_e == "Sewing shoes" | workoth1specify_e == "Electrical work"  | workoth1specify_e == "Eletricity work" |  workoth1specify_e == "DRIVEING" |  workoth1specify_e == "Cut hairs"
			gl oth = "workoth1"
			gl repl = "trade"
			clother

			gl if workoth1specify_e=="Electrician work"	| workoth1specify_e=="Fixing generator, disel car, and any contract"	| workoth1specify_e=="Repair generator, car" | workoth1specify_e=="Charging electronic equipments"|	workoth1specify_e=="Fixing cookpot"|	workoth1specify_e=="Help my friends to sew shoes."|	workoth1specify_e=="Fixing coal pot."
			gl oth = "workoth1"
			gl repl = "trade"
			clother

			gl if  	workoth1specify_e=="Masinary" | 	workoth1specify_e=="Mechanic work" | 	workoth1specify_e=="Mechanic work" | 	workoth1specify_e=="Mechanic Work" | 	workoth1specify_e=="Weldering in the garage" | 	workoth1specify_e=="welderinng" | 	workoth1specify_e=="Fixing nails"  | 	workoth1specify_e=="Fixing pot" | 	workoth1specify_e=="Coalpot fixing" | 	workoth1specify_e=="Cook pot maker" | 	workoth1specify_e=="Car repairs [Machanical appantiship]" | 	workoth1specify_e=="Fix car breaks, tiger generator" | 	workoth1specify_e=="Fix coal pot"  | 	workoth1specify_e=="Repairing tyres" | 	workoth1specify_e=="Tailoring" | 	workoth1specify_e=="Technician"
			gl oth = "workoth1"
			gl repl = "trade"
			clother

			gl if workoth1specify_e=="Electrician"|	workoth1specify_e=="Hair cutting/barbing"|	workoth1specify_e=="Abraham repair generator"|	workoth1specify_e=="Make coal pot"|	workoth1specify_e=="Fixing coalpot"|	workoth1specify_e=="Making cookpot"|	workoth1specify_e=="Value furnitures goods like glass tables, mirrors."
			gl oth = "workoth1"
			gl repl = "trade"
			clother

			gl if workoth1specify_e=="Eletrician helper"|	workoth1specify_e=="Electrician contractor"|	workoth1specify_e=="Machenic shop"
			gl oth = "workoth1"
			gl repl = "trade"
			clother

			*already in trade, move to other
			gl if workoth1specify_e=="Clothes sewing" | workoth1specify_e=="Carpenter" | 	workoth1specify_e=="Fixing of cookpid" | 	workoth1specify_e=="Hair Barber" | workoth1specify_e=="Capentry"
			gl oth = "workoth1"
			gl repl = "other"
			clother

			gl if workoth2specify_e =="Capentry" | workoth2specify_e =="Man shoes" |  workoth2specify_e =="IT" |  	workoth2specify_e =="Mechanic work" |  workoth2specify_e=="Carpenter"
			gl oth = "workoth2"
			gl repl = "trade"
			clother

			gl if workoth2specify_e=="Shoes repairing"|	workoth2specify_e=="Repair shoes"|	workoth2specify_e=="Sewing"| workoth2specify_e=="Cutting hair"
			gl oth = "workoth2"
			gl repl = "trade"
			clother

			gl  if  workoth1specify_e== "Masonry" | workoth1specify_e == "Tax driving" | workoth1specify_e =="Repairing tyre" | workoth1specify_e=="Mechanic" | workoth1specify_e=="Cut hair" | workoth1specify_e=="Carpanter work"
			gl oth = "workoth1"
			gl repl = "trade"
			clother

			gl  if  workoth2specify_e=="Fixing tyres"  | workoth2specify_e== "Plumbming" | workoth2specify_e == "Conductor"  | workoth2specify_e == "Drive car" | workoth2specify_e == "Driving"
			gl oth = "workoth2"
			gl repl = "trade"
			clother

			gl if workoth2specify_e=="Repair bikecycle"|  workoth2specify_e=="Repair generator"	|  workoth2specify_e=="Tailoring"
			gl oth = "workoth2"
			gl repl = "trade"
			clother


			*already in trade, move to other
			gl if workoth2specify_e=="Repair generator and car"	|  workoth2specify_e=="Plumbing work" | workoth2specify_e=="Carpenter helper" |  	workoth2specify_e=="Work at the wood work shop"
			gl oth = "workoth2"
			gl repl = "other"
			clother

			gl if workoth1specify_b == "MASON HELPER" | workoth1specify_b == "MASON WORK" |  workoth1specify_b == "Masonary" | workoth1specify_b == "Driving" | 	workoth1specify_b == "Plumbing wrk" | workoth1specify_b == "Eletrician"
			gl oth = "workoth1"
			gl repl = "trade"
			clother4w_b

			gl if workoth1specify_b =="Welding"
			gl oth = "workoth1"
			gl repl = "trade"
			clother4w_b

			gl if workoth2specify_b == "Driver" | workoth2specify_b=="Repairing car."
			gl oth = "workoth2"
			gl repl = "trade"
			clother4w_b

			*edit workoth2*_b trade*_b if  workoth2specify_b =="CARPENTRY WORK" | workoth2specify_b =="Tarloring" | workoth2specify_b =="Machanic job"
			gl if  workoth2specify_b =="CARPENTRY WORK" | | workoth2specify_b =="Tarloring" | workoth2specify_b =="Machanic job"
			gl oth = "workoth2"
			gl repl = "trade"
			clother4w_b

			* already doing mechanics
			gl if workoth2specify_b =="Driving taxi"
			gl oth = "workoth2"
			gl repl = "other"
			clother4w_b


			* This guy said he is doing electrician work so we move sewing shoes and slipers to other
				*edit trade*_b workoth2*_b  if workoth2specify_b == "SEWING SHOES AND SLIPERS"
				gl if workoth2specify_b == "SEWING SHOES AND SLIPERS"
				gl oth = "workoth2"
				gl repl = "other"
				clother4w_b

			* Tyre Repair in Other
				*edit trade*_e workoth1*_e if workoth1specify_e== "Tyre repair"
				gl if workoth1specify_e== "Tyre repair"
				gl oth = "workoth1"
				gl repl = "other"
				clother


		* PEIMPEIM

			gl if workoth1specify_e == "Motocricling"
			gl oth = "workoth1"
			gl repl = "moto"
			clother

			gl if workoth2specify_e=="Motor bike ridding"
			gl oth = "workoth2"
			gl repl = "moto"
			clother

			*edit moto*_b workoth2*_b if workoth2specify_b =="Riding motorbike"
			gl if workoth2specify_b =="Riding motorbike"
			gl oth = "workoth2"
			dcount4w_b


			*edit moto*_b workoth1*_b if workoth1specify_b =="Motor bike riding"
			gl if workoth1specify_b =="Motor bike riding"
			gl oth = "workoth1"
			dcount4w_b

		* STEALING

			gl if workoth1specify_e=="Car tape hustling" |  workoth1specify_e =="Black-deed"  | workoth1specify_e == "419 game"| workoth1specify_e == "I can go hustle at night, stelling."  | workoth1specify_e == "Black dee business"  | workoth1specify_e  == "Black deed phone and tarpauline"  | workoth1specify_e == "Black deed phones sales" | workoth1specify_e == "Black dees business" | workoth1specify_e == "Picking poket" | workoth1specify_e == "Picking-pocket" | workoth1specify_e == "Pickpocking" | workoth1specify_e == "Jack phones" | workoth1specify_e ==  "Steal  phones"  | workoth1specify_e == "Steal someone apple" | workoth1specify_e == "Stealing"  | workoth1specify_e == "Stealing cell phone"  | workoth1specify_e == "Stealling"|  | workoth1specify_e == "Some time go on the street and hustle other things." | workoth1specify_e == "Black dee business[buy and sell phones"
			gl oth = "workoth1"
			gl repl = "stealing"
			clother

			gl if workoth1specify_e=="Black dee"	| workoth1specify_e=="Black market"	| workoth1specify_e=="Blackdeal business"	| workoth1specify_e=="Blackdee"	| workoth1specify_e=="Bought black deed fuel from a truck without the drivers concern."	| workoth1specify_e=="Dupping people, telling them he will carry them on slow way on the ship but eat the money free."	| workoth1specify_e=="Harass somebody"	| workoth1specify_e=="Hardjack"	| workoth1specify_e=="Taking people things"	| workoth1specify_e=="Taking people things by force"	| workoth1specify_e=="Taking things from behind people."	| workoth1specify_e=="I can do  419 business."	| workoth1specify_e=="Jerk phone"	| workoth1specify_e=="Hustle in freeport"	| workoth1specify_e=="Hustle on iron field"	| workoth1specify_e=="Hustling phone"	| workoth1specify_e=="Labor hustle" | workoth1specify_e=="419"
			gl oth = "workoth1"
			gl repl = "stealing"
			clother

			gl if workoth1specify_e=="Black deal" | 	workoth1specify_e=="Black Money Business." | 	workoth1specify_e=="Amrubery" | 	workoth1specify_e=="Steal" | 	workoth1specify_e=="Steal" | 	workoth1specify_e=="Steal from the port to sell" | 	workoth1specify_e=="Steal rice from the truck at freeport." | 	workoth1specify_e=="Stealing pickpocketing" | 	workoth1specify_e=="Slealing at night." | 	workoth1specify_e=="Over night hustle like stealing." | 	workoth1specify_e=="Overnight hustle like breaking into homes and stealing."
			gl oth = "workoth1"
			gl repl = "stealing"
			clother

			gl if workoth1specify_e=="Overnight hustling" | 	workoth1specify_e=="Hustling from people (Stealing)" | 	workoth1specify_e=="Hustling with friends at night including stealing." | 	workoth1specify_e=="Jedking people things/stealing" | 	workoth1specify_e=="Jerk and run" | 	workoth1specify_e=="Ponata[stealing]" | 	workoth1specify_e=="Break someone place at night and steal" | 	workoth1specify_e=="Entering people houses and business at night" | 	workoth1specify_e=="He some time go into the port to hustle." | 	workoth1specify_e=="He went to Duala market to hustle from people." | 	workoth1specify_e=="Pick pocketing and night robbery"
			gl oth = "workoth1"
			gl repl = "stealing"
			clother

			gl if workoth2specify_e =="Black deed"| workoth2specify_e =="Used to sometime steal phone and sell it." | workoth2specify_e =="Jerk/hulse phone criminally"  | workoth2specify_e =="Selling black deed phone." | workoth2specify_e=="We steal crosh rock at night and go sell it for money."|	workoth2specify_e=="Stelling"
			gl oth = "workoth2"
			gl repl = "stealing"
			clother

			gl if workoth2specify_e=="Night stealing"|  workoth2specify_e=="Steal"	|  workoth2specify_e=="Steal"	|  workoth2specify_e=="Steal from people,jeck their things or do pick pocketing."	|  workoth2specify_e=="Steal motorbike"	|   workoth2specify_e=="jecking phone on the block."	|  workoth2specify_e=="Duping or 419."	|  workoth2specify_e=="Get information for money"|  workoth2specify_e=="Black dee"
			gl oth = "workoth2"
			gl repl = "stealing"
			clother

			gl if  	workoth2specify_e=="Stealing"  |  	workoth2specify_e=="No othef hulstle apart from the black money business." |  	workoth2specify_e=="Stealing" |  	workoth2specify_e=="He takes anything that he sees good  for himself from other people while looking for scraps."
			gl oth = "workoth2"
			gl repl = "stealing"
			clother

			*already stealing, move to other
			gl if workoth2specify_e=="Take people phone, harras people for their money" |workoth2specify_e =="Stealung" | workoth2specify_e=="Jump on people for things" |  	workoth2specify_e=="robbrary"
			gl oth = "workoth2"
			gl repl = "other"
			clother


			*edit stealing*_e workoth2*_e if workoth2specify_e =="Stealing or pickpocketing" | workoth2specify_e=="Jerking phone" | workoth2specify_e =="Jerking phones" | workoth2specify_e =="Pickpocketing" | workoth2specify_e =="Sell black deal things."
			gl if workoth2specify_e =="Stealing or pickpocketing" | workoth2specify_e=="Jerking phone" | workoth2specify_e =="Jerking phones" | workoth2specify_e =="Pickpocketing"
			gl oth = "workoth2"
			gl repl = "stealing"
			clother

			* He is already stealing
				gl if workoth2specify_e =="Sell black deal things."
				gl oth = "workoth2"
				gl repl = "other"
				clother

			gl if workoth1specify_e== "Black deed business"| workoth1specify_e== "Jerking phones"| workoth1specify_e== "Pickpocketing" | workoth1specify_e =="Stealing from people." |  workoth1specify_e=="Hustling from people"	|  workoth1specify_e=="Stealing."	|  workoth1specify_e=="Break into shops and homes during night hours."	|  workoth1specify_e=="Steal from people"	|  workoth1specify_e=="Jerk phones"	|  workoth1specify_e=="Blackdeals"	|  workoth1specify_e=="Black deed phone"	|  workoth1specify_e=="Outer booser or oppening people car and take their things." | workoth1specify_e=="Put it take it,, stealing cellphone from booth."|	workoth1specify_e=="Stealing from people"|	workoth1specify_e=="Stealling through bussing door at night"
			gl oth = "workoth1"
			gl repl = "stealing"
			clother

			gl if workoth1specify_e=="Blck deal business"|	workoth1specify_e=="Hustle from people"|	workoth1specify_e=="Army robbery and stealing"|	workoth1specify_e=="Black dee phone selling"|	workoth1specify_e=="Robery" | workoth1specify_e=="Take people things from behind people" | workoth1specify_e=="Je king imater ials" | workoth1specify_e=="Harris(stealing)"
			gl oth = "workoth1"
			gl repl = "stealing"
			clother

			gl if workoth1specify_b == "Photo copy,blackdeed business" | workoth1specify_b == "Play card for money and pick pocket" | workoth1specify_b == "Pick pockets" | workoth1specify_b == "Stelling" | workoth1specify_b == "Black deed" | workoth1specify_b == "pick from pocket" | workoth1specify_b == "Black deed-business" | workoth1specify_b == "Sealing"| workoth1specify_b == "Iacking phones"|  workoth1specify_b == "Pickpocket, jeck phones, do 419"| workoth1specify_b == "PICKPOCKETING"| workoth1specify_b == "Correct someone mistakes"| workoth1specify_b == "take people money"| workoth1specify_b == ".Stelling"| workoth1specify_b == "Stealing from people"| workoth1specify_b == "Steal planks and dogs often"| workoth1specify_b == "Stealing in the day from people"| workoth1specify_b == "Stealing fuel"| workoth1specify_b == "Pickpocketing"| workoth1specify_b == "Selling"| workoth1specify_b == "Stealing"| workoth1specify_b == "Stealing"| workoth1specify_b == "JERK CELLPHONES AND BAGS (STEAL IN GENERAL)"| workoth1specify_b == "419"| workoth1specify_b == "Stealing both day and night"| workoth1specify_b == "Duping or stealing from people on the street"
			gl oth = "workoth1"
			gl repl = "stealing"
			clother4w_b

			gl if workoth1specify_b == "Steal "
			gl oth = "workoth1"
			gl repl = "stealing"
			clother4w_b


			gl if workoth1specify_b == "Pick pocketing"| workoth1specify_b == "Steal cell phones from people"| workoth1specify_b == "Jeck people things from them"| workoth1specify_b == "Pick pocket and run away with people begs"| workoth1specify_b == "Pick pocketing"| workoth1specify_b == "STEALING"| workoth1specify_b == "POCKET PICKING AT DAY AND STEALING FROM PEOPLE AT NIGHT."| workoth1specify_b == "STEAL"| workoth1specify_b == "STEALING PHONE"| workoth1specify_b == "JERKING OR STEALING PHONE"| workoth1specify_b == "DUPING"| workoth1specify_b == "STEAL PHONES AND MONEY FROM PEOPLE"| workoth1specify_b == "STEALING"| workoth1specify_b == "STEAL PHONES"| workoth1specify_b == "Arm robbery, 419 or duping, pickpocketing, jumping on someone,etc"| workoth1specify_b == "Stelling"| workoth1specify_b == "Jeck people phones"
			gl oth = "workoth1"
			gl repl = "stealing"
			clother4w_b

			gl if workoth1specify_b =="BLACK MONEY"  | 	workoth1specify_b =="SELLING STOLEN PHONES"  |  workoth1specify_b == "Take phones by duping people" |  workoth1specify_b == "Dup 419"| workoth1specify_b == "Sealing phone"| workoth1specify_b == "Duping"  | workoth1specify_b == "Stole scratch cards, cash, jecking phones, etc" |  workoth1specify_b == "Sometimes take money from behind my father" | workoth1specify_b == "Black deed"| workoth1specify_b == "Buy black deed items and resell it."| workoth1specify_b == "Duping or 419, jump on people to take their thjngs"| workoth1specify_b == "Duping, jecking phones, etc."| workoth1specify_b == "Pick pocket from clubs"
			gl oth = "workoth1"
			gl repl = "stealing"
			clother4w_b

			gl if workoth1specify_b =="Arm robbery"| workoth1specify_b =="Arm robbery"| workoth1specify_b =="Arm robbery"| workoth1specify_b =="Auto busher [stealing from car]"| workoth1specify_b =="Black dee"| workoth1specify_b =="Black dee"| workoth1specify_b =="Black dee business"| workoth1specify_b =="Black deed phones"| workoth1specify_b =="Blackdee business"| workoth1specify_b =="Steal"| workoth1specify_b =="Steal"| workoth1specify_b =="Steal and run" | workoth1specify_b =="Steal from people car." | workoth1specify_b =="Steal in the freeport."| workoth1specify_b =="Steal iron"| workoth1specify_b =="Steal motorbike"| workoth1specify_b =="Steal or screapt"| workoth1specify_b =="Steal rice from the truck while parking in the port."| workoth1specify_b =="Steal things."| workoth1specify_b =="Steal, wash, and carry load."| workoth1specify_b =="Stealing from car"| workoth1specify_b =="Stealing from people at night."| workoth1specify_b =="Stealing from people at night."| workoth1specify_b =="Stealing from people."| workoth1specify_b =="Stealing property"| workoth1specify_b =="Stole [phone] from someone."| workoth1specify_b =="robbery"
			gl oth = "workoth1"
			gl repl = "stealing"
			clother4w_b

			gl if workoth1specify_b =="Punatay"| workoth1specify_b =="Punatay (stealing)"| 		workoth1specify_b =="Robbery"| workoth1specify_b =="Robbery"| workoth1specify_b =="Robbery"| workoth1specify_b =="You put down, I take it (pu na tay)"| workoth1specify_b =="Jeck someone phone"| workoth1specify_b =="High jack people at night."| workoth1specify_b =="Hustling from people"| workoth1specify_b =="Jecking phones, ask for contract"| workoth1specify_b =="Jerking phone"| workoth1specify_b =="Jump on people and take their phone."| workoth1specify_b =="Hackjacking people at  night"| workoth1specify_b =="Duplng" | workoth1specify_b =="Harrassment"| workoth1specify_b =="Take people things"| workoth1specify_b =="Passing by (which means to pass by someone and steal from them, while their friends  are calling your attention)"
			gl oth = "workoth1"
			gl repl = "stealing"
			clother4w_b

			gl if workoth1specify_b =="Correcting mistakes"
			gl oth = "workoth1"
			gl repl = "stealing"
			clother4w_b

			gl if workoth2specify_e=="Black deed business"
			gl oth = "workoth2"
			gl repl = "stealing"
			clother

			*already stealing, move to other
			gl if workoth2specify_e=="Blackdee" | workoth2specify_e=="Blackmarket"
			gl oth = "workoth2"
			gl repl = "other"
			clother



			*edit stealing*_b  workoth2*_b if  workoth2specify_b == "PICK POCKET" | workoth2specify_b == "Pickpocketing" |	workoth2specify_b == "Black deed money" | workoth2specify_b == "Black money "  | workoth2specify_b == "Do black deebusiness for people" | workoth2specify_b == "Sold black deed cement" | workoth2specify_b == "Sold black deed phone"
			gl if  workoth2specify_b == "Anti christ; high level criminal; a man who can conjured u and take everything from u including ur valuable jeweries; black money." |  workoth2specify_b == "Beach sand manning" | workoth2specify_b == "Conduct studyclases for children." | workoth2specify_b == "PICK POCKET" | workoth2specify_b == "Pickpocketing" |	workoth2specify_b == "Black deed money" | workoth2specify_b == "Black money"  | workoth2specify_b == "Do black deebusiness for people"  | workoth2specify_b == "Sold black deed cement" | workoth2specify_b == "Sold black deed phone"
			gl oth = "workoth2"
			gl repl = "stealing"
			clother4w_b

			gl if workoth2specify_b =="Do black dee business."| | workoth2specify_b =="Steal" | workoth2specify_b =="Steal any thing"| workoth2specify_b =="Steal from his mother."| workoth2specify_b =="Steal from people, dupe people or 419."|  workoth2specify_b =="Go on the block and jerk phones"
			gl oth = "workoth2"
			gl repl = "stealing"
			clother4w_b

			gl if	workoth2specify_b=="Go on the block and jerk phones"
			gl oth = "workoth2"
			gl repl = "stealing"
			clother4w_b

			* These guys already declared stealing ==> to others
			*edit workoth2specify_b stealingspecify_b stealing*_b  if workoth2specify_b =="Arm robbery"| workoth2specify_b =="Jumping on especially female formobile phones and money." |workoth2specify_b =="Black deed business" |workoth2specify_b =="419" | workoth2specify_b =="Harrassment" |workoth2specify_b =="Rob from car" |workoth2specify_b =="Stealing rice and cement from the port yard."|workoth2specify_b =="Pick pocketing" |workoth2specify_b =="Steal  motorbike"  |workoth2specify_b =="Harrising people at night and taking away all their values." | workoth2specify_b =="Stealing" | workoth2specify_b =="Black dee" |
				gl if workoth2specify_b =="Arm robbery"| workoth2specify_b =="Jumping on especially female formobile phones and money." |workoth2specify_b =="Black deed business" |workoth2specify_b =="419" | workoth2specify_b =="Harrassment" |workoth2specify_b =="Rob from car" |workoth2specify_b =="Stealing rice and cement from the port yard."|workoth2specify_b =="Pick pocketing" |workoth2specify_b =="Steal  motorbike"  |workoth2specify_b =="Harrising people at night and taking away all their values." | workoth2specify_b =="Stealing" | workoth2specify_b =="Black dee"
				gl oth = "workoth2"
				gl repl = "other"
				clother4w_b


			* workoth1specify_b == "Photocopy blackdeed business": double counting between workoth1*_b workoth2*_b  ==> delete workoth2 entry
			* workoth2specify_b == "Pick pockets" is double counting : delete the entry
			* workoth2specify_b == "Jick phone" is double counting : delete the entry
			* workoth2specify_b == "Black deed" is double counting : delete the entry
				*edit workoth1*_b workoth2*_b if workoth2specify_b == "Photocopy blackdeed business"
				gl if workoth2specify_b == "Pick pockets" |  workoth2specify_b == "Jick phone" |  workoth2specify_b == "Black deed" | workoth2specify_b == "Photocopy blackdeed business"
				gl oth = "workoth2"
				dcount4w_b

			* workoth2specify_b == "Jump on people during night fall" : the guy is already stealing ==> other illegal activit
			* workoth2specify_b == "Correct people mistakes" : the guy is already stealing ==> other illegal activit
			* workoth2specify_b == "STEAL DOG" : the guy is already stealing ==> other illegal activit
			* workoth2specify_b == "Stealing from people" : the guy is already stealing ==> other illegal activit
				gl if  workoth2specify_b == "Jump on people during night fall" |	workoth2specify_b == "Correct people mistakes" | workoth2specify_b ==  "STEAL DOG" | workoth2specify_b ==  "Stealing from people"
				gl oth = "workoth2"
				gl repl = "other"
				clother4w_b

			* Double counting
				*edit workoth1*_e  workoth2*_e if workoth1specify_e == "I can go hustle at night, stelling." |   workoth2specify_e =="Stelling at night "
				gl if  workoth2specify_e =="Stelling at night"
				gl oth = "workoth2"
				dcount4w
				*dcount2w


		* GAMBLING

			gl if  workoth1specify_e == "Gambling" | workoth1specify_e == "Managing my gamble board" | workoth1specify_e=="Gamble"
			gl oth = "workoth1"
			gl repl = "gambling"
			clother

			gl if workoth1specify_e=="Betting in play station games."	| workoth1specify_e=="Gambling black deed business"	| workoth1specify_e=="Gambling/blackdeed"	| workoth1specify_e=="Played gamble"
			gl oth = "workoth1"
			gl repl = "gambling"
			clother

			gl if  workoth2specify_e =="Gamble" | workoth2specify_e =="Gambling [playing cards]"
			gl oth = "workoth2"
			gl repl = "gambling"
			clother

			gl if workoth2specify_e=="Playing gamble" |  workoth2specify_e=="Play gamble"
			gl oth = "workoth2"
			gl repl = "gambling"
			clother

			gl if workoth2specify_e== "Gamble"
			gl oth = "workoth2"
			gl repl = "gambling"
			clother


			gl if workoth1specify_b == "GAMBLING" | workoth1specify_b == "Gambling"
			gl oth = "workoth1"
			gl repl = "gambling"
			clother4w_b

			gl if workoth1specify_b =="Gamble"| workoth1specify_b =="Gambling [ cassama]"
			gl oth = "workoth1"
			gl repl = "gambling"
			clother4w_b

			gl if workoth2specify_b == "Betting" | 	workoth2specify_b == "Gamble" | workoth2specify_b == "gambling and playing pool" | workoth2specify_b == "Gamble, casting died" | 	workoth2specify_b == "Gambling"
			gl oth = "workoth2"
			gl repl = "gambling"
			clother4w_b

			gl if workoth2specify_b =="PLAYED GAMBLE" | workoth2specify_b =="Play gamble"| workoth2specify_b =="Playing card for money or gambling for money."
			gl oth = "workoth2"
			gl repl = "gambling"
			clother4w_b



		* SMALL BIZ

			gl if  workoth1specify_e== "Operating video club" | workoth1specify_e== "Shoes shining" | workoth1specify_e=="Taking care of his friend video club."
			gl oth = "workoth1"
			gl repl = "smallbiz"
			clother

			gl if workoth1specify_e=="Barbing" | workoth1specify_e=="Barbering" | workoth1specify_e=="Provision shop"
			gl oth = "workoth1"
			gl repl = "smallbiz"
			clother


			gl if workoth1specify_e=="Store boy work" | 	workoth1specify_e=="Store boy work" | 	workoth1specify_e=="Store boy work" | 	workoth1specify_e=="Warehouse boy" | 	workoth1specify_e=="Working in floor factory,as part timer" | 	workoth1specify_e=="Works with Family Bakery as a roller."
			gl oth = "workoth1"
			gl repl = "smallbiz"
			clother

			gl if workoth2specify_e =="Shine shoes"
			gl oth = "workoth2"
			gl repl = "smallbiz"
			clother

			gl if workoth2specify_e =="Operate a vedio club"| workoth2specify_e =="Run a vedio club"
			gl oth = "workoth2"
			gl repl = "smallbiz"
			clother

			gl if  workoth2specify_e =="I shine shoes infront mr. Hage's store."
			gl oth = "workoth2"
			gl repl = "smallbiz"
			clother

			gl if workoth1specify_e == "Shine shoes" | workoth1specify_e == "Shoe shining" | workoth1specify_e == "Barber" | 	workoth1specify_e == "Barbing and studyclass"
			gl oth = "workoth1"
			gl repl = "smallbiz"
			clother

			gl if workoth1specify_b == "POLISH SHOES" | workoth1specify_b == "SHOES REPAIRING" | workoth1specify_b == "FIXING NAILS[WOMEN]" | workoth1specify_b == "BARBING" | workoth1specify_b == "Cut hair" | workoth1specify_b == "Shoes repair" | workoth1specify_b == "Shoe repairing" | workoth1specify_b == "CUTTING HAIR ON SUNDAYS"
			gl oth = "workoth1"
			gl repl = "smallbiz"
			clother4w_b

			gl if workoth1specify_b =="Shinning shoe" | workoth1specify_b =="Shoe shinning" | workoth1specify_b =="Barbber."| workoth1specify_b =="Barbing or hair cutting"|  workoth1specify_b =="Hairbarbing"
			gl oth = "workoth1"
			gl repl = "smallbiz"
			clother4w_b

			gl if workoth2specify_b == "SHOE SHINE BOY" | workoth2specify_b == "shine shoes" | workoth2specify_b == "Cuting of hair" | workoth2specify_b == "Face cook pots" | workoth2specify_b == "Fix coal pot." |workoth2specify_b == "Fix coal pots" | workoth2specify_b == ".cars repairing"  | workoth2specify_b == "Took care of play station booth"
			gl oth = "workoth2"
			gl repl = "smallbiz"
			clother4w_b

			gl if workoth2specify_b =="BARBING HAIR" | workoth2specify_b =="Barbar shop" | workoth2specify_b =="Barbing" | workoth2specify_b =="Barbing" | workoth2specify_b =="Barbing"
			gl oth = "workoth2"
			gl repl = "smallbiz"
			clother4w_b

			gl if workoth2specify_e=="Cut hair"|  workoth2specify_e=="Helping his friend to take care of a video club."
			gl oth = "workoth2"
			gl repl = "smallbiz"
			clother

			gl if workoth2specify_e=="Fixing coal pot" |  	workoth2specify_e=="Repard television." |  	workoth2specify_e=="Fixing of cookpid"
			gl oth = "workoth2"
			gl repl = "smallbiz"
			clother

		* ILLEGAL

			gl if workoth1specify_e == "contractor head/buy point-point rubber" | workoth1specify_e == "Diging gold" | workoth1specify_e == "Gold mining" | workoth1specify_e == "Tapping rubber" | workoth1specify_e=="Take rubber at night from firestone farm"
			gl oth = "workoth1"
			gl repl = "goldrubber"
			clother

			gl if workoth2specify_e == "Gold mine" | workoth2specify_e == "Gold business"  | workoth2specify_e =="Rubber Tapping" | workoth2specify_e == "gold mine"
			gl oth = "workoth2"
			gl repl = "goldrubber"
			clother

			gl if workoth2specify_b == "Rubber taping work"
			gl oth = "workoth2"
			gl repl = "goldrubber"
			clother4w_b


		* CONSTRUCTION


			gl if workoth1specify_e == "Construction helper" | workoth1specify_e == "Construction work" | workoth1specify_e == "Builder"| workoth1specify_e == "Fix  cement block"
			gl oth = "workoth1"
			gl repl = "constr"
			clother

			gl if workoth1specify_e=="Plant light poles"	| workoth1specify_e=="Planting of lightpole"|  workoth1specify_e=="Sawing  Plank" |  workoth1specify_e=="Building construction"
			gl oth = "workoth1"
			gl repl = "constr"
			clother

			gl if workoth1specify_e=="ConstrContract" | 	workoth1specify_e=="Construction" | 	workoth1specify_e=="CONSTRUCTION WORK." | 	workoth1specify_e=="Constructng boat house" | 	workoth1specify_e=="Construvtion," | 	workoth1specify_e=="Contruction" | 	workoth1specify_e=="Helper for construction work"
			gl oth = "workoth1"
			gl repl = "constr"
			clother

			gl if workoth2specify_e =="Helping with pluming work at police barrick renovation" | workoth2specify_e =="Construction"
			gl oth = "workoth2"
			gl repl = "constr"
			clother

			gl if workoth2specify_e=="Dig sepretank"|  workoth2specify_e=="Labor"	|  workoth2specify_e=="Help in building a house"
			gl oth = "workoth2"
			gl repl = "constr"
			clother

			*already in construction, move to other
			gl if  workoth2specify_e=="Planting lightpoles"
			gl oth = "workoth2"
			gl repl = "other"
			clother


			gl if workoth1specify_e=="House work" | workoth1specify_e=="Painting and doing house repairs."  | workoth1specify_e== "Making blocks" | workoth1specify_e== "Hauling sand and fixing block" | workoth1specify_e== "Construction work" | workoth1specify_e=="Contruction business"
			gl oth = "workoth1"
			gl repl = "constr"
			clother

			gl if workoth1specify_b == "Digging house foundation" | workoth1specify_b =="helper boy in masonry" |  workoth1specify_b =="Re-filling of cement bags" | workoth1specify_b =="FIXING BLOCK" |  workoth1specify_b =="Beat blocks for people"  | workoth1specify_b =="Moore dirt block"
			gl oth = "workoth1"
			gl repl = "constr"
			clother4w_b

			gl if workoth1specify_b =="Constraction" | workoth1specify_b =="Make bricks for contruction" | workoth1specify_b =="Molding blocks" | workoth1specify_b =="Beat block"
			gl oth = "workoth1"
			gl repl = "constr"
			clother4w_b

			gl if workoth1specify_b =="DIG SAND FROM THE RIVER FOR MONEY" | workoth1specify_b =="Cracking crush rock for sale." | workoth1specify_b=="HELPING TO FIX PANEL DOOR"
			gl oth = "workoth1"
			gl repl = "constr"
			clother4w_b

			gl if 	workoth2specify_b == "HOUSE HELPER" | workoth2specify_b == "MOLDING DIRT BLOCK FOR SOMEBODY." | workoth2specify_b == "Mansoner helper" | workoth2specify_b == "Masonry"  |  workoth2specify_b == "Housing painting" | workoth2specify_b == "MASON HELPER, LIGHT DUTY MECHANIC , ILL" | workoth2specify_b =="Making blocks" |  workoth2specify_b =="Block beating"
			gl oth = "workoth2"
			gl repl = "constr"
			clother4w_b


			gl if  workoth2specify_b =="Go on the cement field and help people to buy their cement."
			gl oth = "workoth2"
			gl repl = "constr"
			clother4w_b

			gl if workoth2specify_e=="Assist his brother when working as a capenter"
			gl oth = "workoth2"
			gl repl = "constr"
			clother



			* Double counting
				*edit constr*_b workoth2*_b  if workoth2specify_b ==  "Digging house foundation"
				gl if workoth2specify_b == "Digging house foundation"
				gl oth = "workoth2"
				dcount4w_b

			* More tricky, This guy Digs foundation  for 1 days (6hrs)  and build bridge for 7 days (8hrs)
				* We put dig foundation in construction and buidibg bridge in other (because that is the second activity he declared)
				*edit workoth14w*_e  workoth24w*_e if workoth2specify_e =="Building bridge" | workoth1specify_e== "Digs foundation"
				gl if workoth1specify_e== "Digs foundation"
				gl oth = "workoth1"
				gl repl = "constr"
				clother

				gl if workoth2specify_e =="Building bridge"
				gl oth = "workoth2"
				gl repl = "other"
				clother

		* CARRYLOAD FOR MONEY

			* This guy is already carrying load for money
				*edit workoth24w*_b carryload4w*_b if workoth2specify_b == "Carrying planks"
				gl if workoth2specify_b == "Carrying planks"
				gl oth = "workoth2"
				gl repl = "other"
				clother4w_b

			* Double counting
				*edit workoth24w*_b carryload4w*_b if workoth2specify_b == "Carrying load for money"
				gl if workoth2specify_b == "Carrying load for money"
				gl oth = "workoth2"
				dcount4w_b

		* FISHING

			gl if workoth1specify_e == "Fisherman" | workoth1specify_e == "Fishing" | 	workoth1specify_e == "Woodbselling and fishing from the sea" | workoth1specify_e == "Fisheing"
			gl oth = "workoth1"
			gl repl = "fish"
			clother

			gl if workoth1specify_e=="Fish"	| workoth1specify_e=="Fishing in the sea"	| workoth1specify_e=="Fishing on sea using kinoe"	| workoth1specify_e=="Fishing on the sea"	| workoth1specify_e=="Hull fishing net on show"
			gl oth = "workoth1"
			gl repl = "fish"
			clother

			gl if workoth1specify_e=="Finshing" | 	workoth1specify_e=="Fisher man" | 	workoth1specify_e=="Fisher man" | 	workoth1specify_e=="Fisher-man" | 	workoth1specify_e=="Fishing business" | 	workoth1specify_e=="Fishing from the sea"
			gl oth = "workoth1"
			gl repl = "fish"
			clother

			gl if (workoth2specify_e =="Fishing" & partid!=30015 )|workoth2specify_e =="Fishing on fantin canoe"  |workoth2specify_e=="Contractor at a fishing company."
			gl oth = "workoth2"
			gl repl = "fish"
			clother

			gl if workoth2specify_e=="Fisherman"|  workoth2specify_e=="Fisherman"	|  workoth2specify_e=="Fisherman job"	|  workoth2specify_e=="Go on the sea for fish to sell"
			gl oth = "workoth2"
			gl repl = "fish"
			clother

			*already fishes, moved to other
			gl if workoth2specify_e=="Help my mother to sell fish" |   workoth2specify_e=="Plating fishing nets" | (workoth2specify_e=="Fishing" & partid==30015)
			gl oth = "workoth2"
			gl repl = "other"
			clother


			gl if workoth1specify_b == "Fishing" | workoth1specify_b == "Fishery"  | workoth1specify_b == "Fishing on sea" | workoth1specify_b == "Fisherman"  |workoth1specify_b == "Fishing"
			gl oth = "workoth1"
			gl repl = "fish"
			clother4w_b

			gl if workoth1specify_b =="FISHING" |  workoth1specify_b =="FISHING AND GO SELL IT" | workoth1specify_b =="Tolting fish cartoon from the pear at free port." | workoth1specify_b =="Sometime go on the beach and help the people to haul  the fishing net."
			gl oth = "workoth1"
			gl repl = "fish"
			clother4w_b


			gl if workoth2specify_b == "Work to off load ship at the port."  | workoth2specify_b == "Fishing" | workoth2specify_b =="Pulling net" |  workoth2specify_b =="Draw fishing net for money" | workoth2specify_b =="Fishing and betting."
			gl oth = "workoth2"
			gl repl = "fish"
			clother4w_b


		* BEG

			*edit workoth2*_b beg*_b if workoth2specify_b == "I can go to my friends selling places to beg them for money" | workoth2specify_b =="Told load for someone and beg for money"
			gl if workoth2specify_b == "I can go to my friends selling places to beg them for money"
			gl oth = "workoth2"
			gl repl = "beg"
			clother4w_b

			gl if  workoth1specify_b =="Begging friends"
			gl oth = "workoth1"
			gl repl = "beg"
			clother4w_b

			* This guy is already begginng
			*edit workoth2*_b other*_b if workoth2specify_b == "Told load for someone and beg for money"
			gl if workoth2specify_b =="Told load for someone and beg for money"
			gl oth = "workoth2"
			gl repl = "other"
			clother4w_b

			* This guy is already begging
				*edit workoth24w*_b beg*_b if workoth2specify_b == "Beg for money"
				gl if workoth2specify_b == "Beg for money"
				gl oth = "workoth2"
				gl repl = "other"
				clother4w_b

			gl if workoth2specify_e=="Harassing people"|	workoth2specify_e=="Beg my father for money."|	workoth2specify_e=="Ask my mom for money." |  workoth2specify_e=="Beg friends and families."
			gl oth = "workoth2"
			gl repl = "beg"
			clother

		* SCAVENGE

			*edit workoth2*_b scavenge*_b if  workoth2specify_b =="Scrap selling"
			gl if  workoth2specify_b =="Scrap selling"
			gl oth = "workoth2"
			gl repl = "scavenge"
			clother4w_b

			gl if workoth1specify_b =="Collecting garbage"
			gl oth = "workoth1"
			gl repl = "scavenge"
			clother4w_b

			* Those guys are already scavenging

				gl if workoth2specify_b =="Searching for old slippers."
				gl oth = "workoth2"
				gl repl = "other"
				clother4w_b

				*edit workoth14w*_b scavenge*_b if  workoth1specify_b =="Look for scraps." | workoth1specify_b =="Looking for scraps" | workoth1specify_b =="Find old slippers"
				gl if  workoth1specify_b =="Look for scraps." | workoth1specify_b =="Looking for scraps" | workoth1specify_b =="Find old slippers"
				gl oth = "workoth1"
				gl repl = "other"
				clother4w_b

				*edit workoth14w*_b scavenge*_b if workoth1specify_b =="Break old booth and sell the sticks"   |  workoth1specify_b =="Works at scraps weighing station."
				gl if  workoth1specify_b =="Break old booth and sell the sticks"   |  workoth1specify_b =="Works at scraps weighing station."
				gl oth = "workoth1"
				gl repl = "other"
				clother4w_b

				gl if workoth2specify_b == "Gabage"
				gl oth = "workoth2"
				gl repl = "other"
				clother4w_b

				gl if workoth2specify_e=="Look for scrap one-one time." | workoth2specify_e=="I went on the block to harass the hokers to get money"
				gl oth = "workoth2"
				gl repl = "other"
				clother

		* CAR WASHING


				gl if workoth1specify_b =="Washing motorbike"
				gl oth = "workoth1"
				gl repl = "carwash"
				clother4w_b

				* Double counting
					*edit workoth2*_b carwash*_b if workoth2specify_b =="Car washing"
					gl if workoth2specify_b =="Car washing"
					gl oth = "workoth2"
					dcount4w_b

				* Double counting
					gl if workoth2specify_b =="Washing cars"
					gl oth = "workoth2"
					dcount4w_b

			* This guy already does carwashing
			*edit workoth14w*_b carwash*_b if  workoth1specify_b =="Car washing"
				gl if workoth1specify_b =="Car washing"
			 	gl oth = "workoth1"
				gl repl = "other"
				clother4w_b

		* CONTRACT WORK/DAILY HIRE

			gl if workoth1specify_e=="Contracting" | workoth1specify_e =="Contract"  | workoth1specify_e =="Dug septic tank as a contract" |  workoth1specify_e=="Csaual laborer around town" | workoth1specify_e=="Daily hire with the campany Sime diabe"|	workoth1specify_e=="Daily hire job" |	workoth1specify_e=="Digging gold on the mine"
			gl oth = "workoth1"
			gl repl = "contract"
			clother

			gl if workoth1specify_e=="CICI Contractor"	| workoth1specify_e=="Contract daily"	| workoth1specify_e=="Contract(constraction)."	| workoth1specify_e=="Contractor"	| workoth1specify_e=="Daily hire work at the freeport of monrovia."	| workoth1specify_e=="Mason helper"	| workoth1specify_e=="Masoner Contract"
			gl oth = "workoth1"
			gl repl = "contract"
			clother

			gl if workoth1specify_e=="Daily contractor, at the freeport of monrovia" | 	workoth1specify_e=="Daily hire" | 	workoth1specify_e=="Daily hire in the freeport of monrovia" | 	workoth1specify_e=="Daily hire work" | 	workoth1specify_e=="Daily hired work from the Freeport of Monrovia." | 	workoth1specify_e=="Contract at the Freeport of Monrovia" | 	workoth1specify_e=="Contract in the cold room." | 	workoth1specify_e=="Contract work at the free port of monrovia." | 	workoth1specify_e=="Contract work in free port." | 	workoth1specify_e=="Hall sand from the beach"
			gl oth = "workoth1"
			gl repl = "contract"
			clother

			gl if 	workoth1specify_e=="Hauling sand from the river." | 	workoth1specify_e=="Haulling sand" | 	workoth1specify_e=="Went on the sea for fishing boat on contract basis." | 	workoth1specify_e=="Work in port" | 	workoth1specify_e=="Breaking of rocks on the rock field." | 	workoth1specify_e=="Breaking rocks" | 	workoth1specify_e=="He some time go on the gold mine to dig gold." | 	workoth1specify_e=="Make concrete blocks" | 	workoth1specify_e=="Minning gold" | 	workoth1specify_e=="Sand minning" | 	workoth1specify_e=="Sand minning"
			gl oth = "workoth1"
			gl repl = "contract"
			clother

			gl if workoth1specify_b =="Work for people for pay" | workoth1specify_b =="small contracts for people"  | workoth1specify_b =="HELPER" | workoth1specify_b =="Help friend sell foot wear"  | workoth1specify_b =="Help friend to sell value clothes" | workoth1specify_b =="Help his friend to sell tapolin" | workoth1specify_b =="Help my friends pick among his dk for sale"  | workoth1specify_b =="Helping people to do work for pay in the community" | workoth1specify_b =="Helpinp someone with his work" | workoth1specify_b =="CONTRACT WORK"  | workoth1specify_b =="Contract" | workoth1specify_b =="DAILY HIRE" | workoth1specify_b =="Do contracts for people"  | workoth1specify_b =="Do people's cotract along with friends."  | workoth1specify_b =="Do some contract for people"  | workoth1specify_b =="Sometimes pack people businesd goods and market ables"
			gl oth = "workoth1"
			gl repl = "contract"
			clother4w_b

			gl if workoth2specify_e =="Plank Sawing" | workoth2specify_e =="Wood"
			gl oth = "workoth2"
			gl repl = "contract"
			clother

			gl if   workoth2specify_e=="Dayboy work at freeport" |  workoth2specify_e=="Contract"|	 workoth2specify_e=="Contract,printing"
			gl oth = "workoth2"
			gl repl = "contract"
			clother

			gl if   workoth2specify_e=="I can go go local gold mining in government camp, sinoe county" |  	workoth2specify_e=="I am doing gold mining everyday" |  	workoth2specify_e=="Digging gold" |  	workoth2specify_e=="Work at the freeport (daily higher)" |  	workoth2specify_e=="Sweep dirty rice from trucks at Freeport of Monrovia"
			gl oth = "workoth2"
			gl repl = "contract"
			clother

			*already daily hire, move to other
			gl if workoth2specify_e=="Daily hire"
			gl oth = "workoth2"
			gl repl = "other"
			clother


			gl if workoth1specify_b =="Contract in Freeport" |workoth1specify_b =="Daily hire in the port." |workoth1specify_b =="Cashual lador at the Freeport of Monrovia" |workoth1specify_b =="Help my brother at his technician shop" |workoth1specify_b =="Helper job at construction sites." | workoth1specify_b =="Helping to push wheelbarrow with water." |workoth1specify_b =="HELPING TO FIX PANEL DOOR"
			gl oth = "workoth1"
			gl repl = "contract"
			clother4w_b

			gl if workoth2specify_b == "DAILY HIRED, FILLED IN FOUNDATIONS."	|  workoth2specify_b == "Do contracts"	|  workoth2specify_b == "HELP TO SELL BLOUSES FOR BROTHER"	| workoth2specify_b == "Help my fathrer sell gas"	 	| workoth2specify_b == "Help to dig house foundation." | workoth2specify_b == "Help to sell for my bossman"	| workoth2specify_b == "Helped people bake bread."	| workoth2specify_b == "Helping peoole in building houses and mansory job"| workoth2specify_b == "LOOK FOR WOOD FOR THE BAKERY."
			gl oth = "workoth2"
			gl repl = "contract"
			clother4w_b

			gl if workoth2specify_b =="CONTRACTOR AT THE PORT" |  workoth2specify_b =="Contract" | workoth2specify_b =="Do contracts for people" | workoth2specify_b =="Any daily hire work." |workoth2specify_b =="Help brother to sell Jeans." | workoth2specify_b =="Helper in the tarlor shop." | workoth2specify_b =="Helping friends to find customers." | workoth2specify_b =="Helping to bake bread"
			gl oth = "workoth2"
			gl repl = "contract"
			clother4w_b

			* This doesn't fit well into contract but I don't know where else...
			gl if workoth1specify_b =="Repair generator,fix radio" | workoth1specify_b =="Fixing of coal pot for sale."
			gl oth = "workoth1"
			gl repl = "contract"
			clother4w_b


			* Those guys already do contract works

				*edit workoth24w*_b workoth2specify_b contract*_b if workoth2specify_b == "Help people pack teir goods"	|  workoth2specify_b == "Help to sell for friends" | workoth2specify_b == "I helped people to do construction work as a helper. "
				gl if workoth2specify_b == "Help people pack teir goods"	|  workoth2specify_b == "Help to sell for friends" | workoth2specify_b == "I helped people to do construction work as a helper."
				gl oth = "workoth2"
				gl repl = "other"
				clother4w_b

		* OTHER

			gl if  workoth1specify_e == "Play football game"| workoth1specify_e == "DJ job play music on wake"  | workoth1specify_e == "Play musical  set" |   |workoth1specify_e == "Drive my  mother to work one one  time" | workoth1specify_e == "Collatrate business"  | workoth1specify_e == "Dispasher of coal cars" | workoth1specify_e == "Do vacation job"  |workoth1specify_e == "Plaistic taporling"   | workoth1specify_e == "T. Shirt for men" | 	workoth1specify_e == "Wiring building"
			gl oth = "workoth1"
			gl repl = "other"
			clother

			gl if workoth1specify_e=="Bearch cleaning"	| workoth1specify_e=="Bearch sand"	| workoth1specify_e=="Cold story works"	| workoth1specify_e=="Cut old cars into pieces for scrap"	| workoth1specify_e=="Dig send and sell from the tran track."	| workoth1specify_e=="Digging and selling sand"	| workoth1specify_e=="Digging sand on the river."	| workoth1specify_e=="Digging sand to sell it"	| workoth1specify_e=="Dj"	| workoth1specify_e=="Drawing"	| workoth1specify_e=="Fixing coolpots for sale."	| workoth1specify_e=="Fixing market tables for money"
			gl oth = "workoth1"
			gl repl = "other"
			clother

			gl if workoth1specify_e=="Beating block"| workoth1specify_e=="middle man between sex workers on the block"|	workoth1specify_e=="Helping in a cafe" | workoth1specify_e=="Coach football team" | workoth1specify_e=="Money exchange" |  workoth1specify_e=="Liberia motor transport union security." | workoth1specify_e=="Tap palm wine and sell." |  workoth1specify_e=="Look for batter"
			gl oth = "workoth1"
			gl repl = "other"
			clother

			gl if workoth1specify_e=="Basket ball playing"|	workoth1specify_e=="Car washing"|	workoth1specify_e=="Putting gaseline in drums."|	workoth1specify_e=="0"|	workoth1specify_e=="Bagging of water with AQUALIFE"|	workoth1specify_e=="Punatay & polo blazing"|	workoth1specify_e=="Burning wood to get coal."|	workoth1specify_e=="Sand mining from the river"|	workoth1specify_e=="Fecthing water"|	workoth1specify_e=="Run current wire in house for money."|	workoth1specify_e=="Paint"|	workoth1specify_e=="Study class"
			gl oth = "workoth1"
			gl repl = "other"
			clother


			gl if workoth1specify_e=="Cut stick"
			gl oth = "workoth1"
			dcount4w

			gl if workoth1specify_e=="Help to put zinc up."	| workoth1specify_e=="Help uncle and later he was able to get 250 for him self"	| workoth1specify_e=="Looking for flower around."	| workoth1specify_e=="Painting"	| workoth1specify_e=="Tarboo"	| workoth1specify_e=="Teaching kids at srudy  class."	| workoth1specify_e=="Works  at fish store."	| workoth1specify_e=="Went to help his friend sell in his friend's boutique on johnson street" | workoth1specify_e=="Work with marinetime to clain up the beach"	| workoth1specify_e=="Sand mining"	| workoth1specify_e=="Shinning shoes"	| workoth1specify_e=="Tally clerk,Free Port"	| workoth1specify_e=="Mining gold"	| workoth1specify_e=="Nails designer"	| workoth1specify_e=="Help to bake bread"
			gl oth = "workoth1"
			gl repl = "other"
			clother

			gl if  workoth1specify_e == "Distributing current in diffent, locations"|  workoth1specify_e=="Helping a friend with plumbing work"	|  workoth1specify_e=="Hair cutting"	|  workoth1specify_e=="Chief cook work"	|  workoth1specify_e=="Help friends to drive taxi round town"	|  workoth1specify_e=="Cutting hair" | workoth1specify_e=="Digging gold" | workoth1specify_e=="Taxi driver"	| workoth1specify_e=="Look for scraps"
			gl oth = "workoth1"
			gl repl = "other"
			clother

			gl if workoth1specify_e == "Burning coal" | workoth1specify_e=="Cultural dancing"  | workoth1specify_e== "Cultural or traditional dance" | workoth1specify_e == "Cigarette"   | workoth1specify_e== "Find wood" | workoth1specify_e=="Hel  in the garage" | workoth1specify_e=="Helper job" | workoth1specify_e=="Doing Assignment for student" | workoth1specify_e=="Digging and selling gold."
			gl oth = "workoth1"
			gl repl = "other"
			clother

			gl if workoth1specify_e=="Any contact" | 	workoth1specify_e=="Bar tainer" | 	workoth1specify_e=="Bush grass" | 	workoth1specify_e=="Buy Drink for somebody." | 	workoth1specify_e=="Cut palm nut" | 	workoth1specify_e=="Did not explin about the different hustling." | 	workoth1specify_e=="Distributing  provision  toshops" | 	workoth1specify_e=="Divering for gold and scraps" | 	workoth1specify_e=="Driving" | 	workoth1specify_e=="Driving car" | 	workoth1specify_e=="Dumping dirty" | 	workoth1specify_e=="Filling foundation with dirt" | 	workoth1specify_e=="Filling holes on the steet to get money." | 	workoth1specify_e=="Frozen food center" | 	workoth1specify_e=="gold mining" | 	workoth1specify_e=="He sells in the cold room" | 	workoth1specify_e=="Help my friends to sell art and craft wood"
			gl oth = "workoth1"
			gl repl = "other"
			clother

			gl if workoth1specify_e=="Help people to sell tablets arround" | 	workoth1specify_e=="Holding Cartton in Looking town for a company called cancablay. He can also to steal at night to get money." | 	workoth1specify_e=="Holding sand"
			gl oth = "workoth1"
			gl repl = "other"
			clother

			gl if workoth1specify_e=="Painting house." | 	workoth1specify_e=="Part work on the bench or bench wash." | 	workoth1specify_e=="Photographer" | 	workoth1specify_e=="Helping in a radio repearing shop" | 	workoth1specify_e=="Playing guitar" | 	workoth1specify_e=="Push canoes" | 	workoth1specify_e=="Push push" | 	workoth1specify_e=="Put talk on people anything have you get it without giving them anything  kalay level" | 	workoth1specify_e=="Sealing" | 	workoth1specify_e=="Singing & playing guiatar" | 	workoth1specify_e=="Sle use spair parts for Car." | 	workoth1specify_e=="Taxi Driving" | 	workoth1specify_e=="Teacher assistant" | 	workoth1specify_e=="Third share"
			gl oth = "workoth1"
			gl repl = "other"
			clother

			gl if workoth1specify_e=="Third share" | 	workoth1specify_e=="This respondent do blck money business. His Big brother teach him how to do this business." | 	workoth1specify_e=="Taking catton of fish fom the contine to the whelhose." | 	workoth1specify_e=="Trow dert"| 	workoth1specify_e=="Looking for Iron" | 	workoth1specify_e=="Mode or fix Bamboo shelve" | 	workoth1specify_e=="Money changing" | 	workoth1specify_e=="Mooding bricks"
			gl oth = "workoth1"
			gl repl = "other"
			clother

			gl if workoth2specify_e == "Burning coal" | workoth2specify_e == "I do daily contracts" | workoth2specify_e == "Cigaret" | workoth2specify_e == "Collateral business" | workoth2specify_e =="Coaching a football team"  | 	workoth2specify_e =="Digging of seperate tanks" | workoth2specify_e =="Draw water for peeople" | workoth2specify_e =="Empty begs"  | workoth2specify_e =="Fix coal pot for sale" | workoth2specify_e =="GAS"   | workoth2specify_e =="Repairs shoes" | workoth2specify_e =="Work in the core story"
			gl oth = "workoth2"
			gl repl = "other"
			clother

			gl if workoth2specify_e=="Play football" |  	workoth2specify_e=="Play instrument" |  	workoth2specify_e=="I fix or bake bread for a lady" |  	workoth2specify_e=="I can help to bake fantee bread" |  	workoth2specify_e=="Washing for my sister" |  	workoth2specify_e=="Play football for money"  |  	workoth2specify_e=="Scrap" |  	workoth2specify_e=="Survey line cutting" |  	workoth2specify_e=="Coaching" |  	workoth2specify_e=="Wash clothes" |  	workoth2specify_e=="Car washing" |  	workoth2specify_e=="I Help a stranger to locate his family"  |  	workoth2specify_e=="Praint art." |  	workoth2specify_e=="Transfer music" |  	workoth2specify_e=="Wash aunty clothes" |  	workoth2specify_e=="He rent out current" |  	workoth2specify_e=="Driver" |  	workoth2specify_e=="Shoe shine boy" |  	workoth2specify_e=="I do music business" |  	workoth2specify_e=="Painting of house"   |  	workoth2specify_e=="Store boy" |  	workoth2specify_e=="Look for wood"
			gl oth = "workoth2"
			gl repl = "other"
			clother

			gl if workoth2specify_e == "Work with LMTU" |  workoth2specify_e=="Store boy work." | workoth2specify_e=="Car driving"|	workoth2specify_e=="Burn coal"|	workoth2specify_e=="Brushing some body land."|	workoth2specify_e=="Yard Sand mining"|	workoth2specify_e=="Do  assignment for studenf"|	workoth2specify_e=="singing and dancing"|	workoth2specify_e=="Do other kinds of business"|	workoth2specify_e=="Help my uncle in the gov't toilet to draw water"|	workoth2specify_e=="Making music"|	workoth2specify_e=="Play station"
			gl oth = "workoth2"
			gl repl = "other"
			clother

			gl if  workoth2specify_e=="Help carry people children to sch."|	 workoth2specify_e=="Playing footballl"|	 workoth2specify_e=="Burning of coal"|	 workoth2specify_e=="Did students assignments for money."|	 workoth2specify_e=="I take care of the market toilet every day"|	 workoth2specify_e=="Manage a play station for my brother"|	 workoth2specify_e=="I can take care of a video  play station for my friend."|	 workoth2specify_e=="Mining  gold"
			gl oth = "workoth2"
			gl repl = "other"
			clother

			gl if workoth2specify_e=="Cleaning of beach"|  workoth2specify_e=="Haul sand"	|  workoth2specify_e=="Mine sand"	|  workoth2specify_e=="Digging send"	|  workoth2specify_e=="DVD player"	|  workoth2specify_e=="Im going to school"	|  workoth2specify_e=="Make cold pot"	|  workoth2specify_e=="Sometime help my boys to re-beg the cement"	|  workoth2specify_e=="Taking care of dogs." | workoth2specify_e=="Help uncle" | workoth2specify_e=="Driving of vehicle"
			gl oth = "workoth2"
			gl repl = "other"
			clother


			gl if workoth2specify_e =="Fix extention core"| workoth2specify_e =="Sold auction goods"  | workoth2specify_e =="runs a tutorial class" |  workoth2specify_e =="Buy goods for neighbor"   | workoth2specify_e =="Buying bottles" | workoth2specify_e =="Dance" | workoth2specify_e =="Doing nails designing." |  workoth2specify_e=="Dri ve taxi" | workoth2specify_e=="Gold mining" | workoth2specify_e=="Brushing" | workoth2specify_e=="I am a pastor, but i have been sick in the past one month and have not been doing anything to get money."
			gl oth = "workoth2"
			gl repl = "other"
			clother

			gl if workoth2specify_e =="Find contracts." | workoth2specify_e =="Sand mining" | workoth2specify_e =="Helper work on the iron field" | workoth2specify_e =="community bath room manager" | workoth2specify_e =="I go with friends to dig gold" | workoth2specify_e =="I am doing church work."
			gl oth = "workoth2"
			gl repl = "other"
			clother

			gl if  workoth1specify_b =="Battery cartun" | workoth1specify_b =="Renting musical set." | workoth1specify_b =="PHONE" |workoth1specify_b =="Food"  |	workoth1specify_b =="OTHER KIND OF HUSTLE" | workoth1specify_b =="Money"  | workoth1specify_b =="Werdind work" |	workoth1specify_b =="Pushing cars"  | workoth1specify_b == "Play football" | workoth1specify_b == "Playing comercial football in another communities" | workoth1specify_b == "Searching where he can exchange us 1 for us 100" | workoth1specify_b == "Take sand from the beach for money"
			gl oth = "workoth1"
			gl repl = "other"
			clother4w_b

			gl if  workoth1specify_b =="Musician" | workoth1specify_b =="DJ work" |	workoth1specify_b =="I play community football and my manager give me money"
			gl oth = "workoth1"
			gl repl = "other"
			clother4w_b

			gl if workoth2specify_b=="Bake bread and sell rock"  | workoth2specify_b == "Art work" |  workoth2specify_b == "Drawing water for people" |  workoth2specify_b == "Food  stuff cartoon" |  workoth2specify_b == "I smoke" |  workoth2specify_b == "Praying for people on the levelside" |  workoth2specify_b == "sell personal value when jammed one,one time." |  workoth2specify_b == "Herberlist" |  workoth2specify_b == "Susu" |  workoth2specify_b == "Put scraps in car"
			gl oth = "workoth2"
			gl repl = "other"
			clother4w_b

			gl if workoth2specify_b == "MASON HELPER, LIGHT DUTY MECHANIC , ILLEGAL HUSTLER" |  workoth2specify_b == "PUNATAY" |  workoth2specify_b == "Parking goods" |  workoth2specify_b == "Recondition begs and sell" |  workoth2specify_b == "Sarting mechines for people with generators and washing of of clothes" |  workoth2specify_b == "TAKE CARE OF PUBLIC TOILET" |  workoth2specify_b == "Tint cars" |  workoth2specify_b == "WHITE WASHING" |  workoth2specify_b == "Wash bike" | 	workoth2specify_b == "river" | workoth2specify_b == "sell personal value when jammed one,one" | 	workoth2specify_b == "Playing football" | workoth2specify_b == "Singing-musician"
			gl oth = "workoth2"
			gl repl = "other"
			clother4w_b


			* TO CHECK LATER that these activites shouldn't be in a different places
			*edit workoth2*_b other*_b if workoth2specify_b =="Dig sand" |  workoth2specify_b =="Dig sand frm the creek for sale" | workoth2specify_b =="Dig sand on the beach for money" | workoth2specify_b =="HAULED SAND FOR MONEY" | workoth2specify_b =="Hauling sand and or cruch rocks for people in the community,when people are  building house." | workoth2specify_b =="Go on the cement field and help people to buy their cement." | workoth2specify_b =="Sand digging" | workoth2specify_b =="Look for sand" | workoth2specify_b =="Coal pots" |  workoth2specify_b =="Cool pot" | workoth2specify_b =="Fire Coal" | workoth2specify_b =="Hauling water" | workoth2specify_b =="Legal hustle." | workoth2specify_b =="Looking woman for other man, pallerpor" | workoth2specify_b =="Use girlfriend as pimp" | workoth2specify_b =="Panting" | workoth2specify_b =="Pin slippers"
			gl if workoth2specify_b =="Dig sand" |  workoth2specify_b =="Dig sand frm the creek for sale" | workoth2specify_b =="Dig sand on the beach for money" | workoth2specify_b =="HAULED SAND FOR MONEY" | workoth2specify_b =="Hauling sand and or cruch rocks for people in the community,when people are  building house." | workoth2specify_b =="Sand digging" | workoth2specify_b =="Look for sand" | workoth2specify_b =="Coal pots" |  workoth2specify_b =="Cool pot" | workoth2specify_b =="Fire Coal" | workoth2specify_b =="Hauling water" | workoth2specify_b =="Legal hustle." | workoth2specify_b =="Looking woman for other man, pallerpor" | workoth2specify_b =="Use girlfriend as pimp" | workoth2specify_b =="Panting" | workoth2specify_b =="Pin slippers"
			gl oth = "workoth2"
			gl repl = "other"
			clother4w_b

			gl if workoth2specify_b =="Was sent to places to buy or was sent to get soething for people and was paid for doing so." | workoth2specify_b =="Work at the port or monrovia." | workoth2specify_b =="Work in a warehouse." | workoth2specify_b =="REPAIR RADIO" | workoth2specify_b =="Repairing car." | workoth2specify_b =="Repairing radio" | workoth2specify_b =="Fix coal pot for sale." |   workoth2specify_b =="Throwing bags" | | workoth2specify_b =="Riding push push with water" | workoth2specify_b =="Rock crusher" | workoth2specify_b =="Stocking bags in the port" | workoth2specify_b =="TO GO HAUL RICE AT THE FREEPORT OF  MONROVIA"  | workoth2specify_b =="Selling sand"
			gl oth = "workoth2"
			gl repl = "other"
			clother4w_b

			*edit workoth1*_b other*_b if workoth1specify_b =="DIG SAND FROM THE RIVER FOR MONEY" | workoth1specify_b =="Digging sand"  | workoth1specify_b =="HAUL SAND AND SELL IT TO PEOPLE"  | workoth1specify_b =="Hauling sand at building construction site." | workoth1specify_b =="Dig river sand for sale" |  workoth1specify_b =="Bringing sand for the beach" | workoth1specify_b =="Dig sand and carry rock for people"| workoth1specify_b =="Dig sand from river"| workoth1specify_b =="Digging well"| workoth1specify_b =="Digging of seperate tanks hoe around town."| workoth1specify_b =="Collecting garbage"| workoth1specify_b =="Cracking crush rock for sale."| workoth1specify_b =="Freeport,labor work"| workoth1specify_b =="Haulling rice from ship."| workoth1specify_b =="Laborer"| workoth1specify_b =="Landbanking"| workoth1specify_b =="Mentainence of leople's properties"| workoth1specify_b =="Rock crushing"| workoth1specify_b =="Pack fish at the cold storage"
			gl if workoth1specify_b =="Digging sand"  | workoth1specify_b =="HAUL SAND AND SELL IT TO PEOPLE"  | workoth1specify_b =="Hauling sand at building construction site." | workoth1specify_b =="Dig river sand for sale" |  workoth1specify_b =="Bringing sand for the beach" | workoth1specify_b =="Dig sand and carry rock for people"| workoth1specify_b =="Dig sand from river"| workoth1specify_b =="Digging well"| workoth1specify_b =="Digging of seperate tanks hoe around town." | workoth1specify_b =="Freeport,labor work"| workoth1specify_b =="Haulling rice from ship."| workoth1specify_b =="Laborer"| workoth1specify_b =="Landbanking"| workoth1specify_b =="Mentainence of leople's properties" | workoth1specify_b =="Rock crushing"| workoth1specify_b =="Pack fish at the cold storage"
			gl oth = "workoth1"
			gl repl = "other"
			clother4w_b

			gl if workoth1specify_b =="Putting alcohol in bottles at the factory"| workoth1specify_b =="Putting canoe up."| workoth1specify_b =="Store boy"| workoth1specify_b =="Typing letters"| workoth1specify_b =="Vali boy"| workoth1specify_b =="Video game"| workoth1specify_b =="Waiter in a resturant."| workoth1specify_b =="Weight scraps"| workoth1specify_b =="Repair tyres"| workoth1specify_b =="Help people to repair their phones."
			gl oth = "workoth1"
			gl repl = "other"
			clother4w_b

		* NO ACTIVITIES People declared an activities but it isn't actually an activity

			gl if workoth2specify_e == "0" |  workoth2specify_e == "Asked my uncle for money" | workoth2specify_e == "I get money through family assistance" |  	workoth2specify_e=="Heigth scale for iron" |  	workoth2specify_e=="Divering" |  	workoth2specify_e=="Note pad and wallet." |  	workoth2specify_e=="Brushing Contract"
			gl oth = "workoth2"
			dcount4w
			*dcount2w

			gl if workoth1specify_e=="Help a friend to construct a celing in a building"
			gl oth = "workoth1"
			dcount4w
			*dcount2w

			gl if workoth2specify_b =="None"| workoth2specify_b =="Beg family members"
			gl oth = "workoth2"
			dcount4w_b

			* This activity should be empty (said no)
				gl if workoth2specify_e =="Phone selling"
				gl oth = "workoth2"
				dcount4w


*use "C:\Users\Victo\Dropbox\RA-UChicago\Blattman\Liberia\Data_replacementOther.dta",replace

			* Hustle
			count if  hustle_specify_1_e!="" &  hustle_specify_2_e!="" & hustle_specify_3_e!="" & hustle_specify_4_e!="" ///
			 & hustle_specify_5_e!="" & hustle_specify_6_e==. & hustle_specify_7_e!="" & hustle_specify_8_e!=. // 6 is numeric

			gen hustle_specify=""
			forvalues x=1(1)8 {
				cap replace hustle_specify=hustle_specify_`x'_e if hustle_specify_`x'_e!=""
			}
			tab hustle_specify

			#delimit ;
			gl if hustle_specify == "duping or 419" |  hustle_specify=="Stealing from people" | hustle_specify=="Taking goods from people to sell"|	hustle_specify=="Steal"
			 | hustle_specify=="Stealing" |  hustle_specify == "Galaxy operator (419 duping)" |  hustle_specify=="Hard jacking" | hustle_specify=="Duping people (419 business)"
			 |	hustle_specify=="Duping people (409 business)"|	 hustle_specify=="C M B/dubbing or 4 1 9" | hustle_specify == "Black deal business" |  hustle_specify=="Black deal"
			  | hustle_specify=="Black Deed Business (buying and selling used phones)." | hustle_specify=="Black Deed Business" ;
			#delimit cr

			gl oth = "workoth1"
			gl repl = "stealing"
			clother

			#delimit ;
			gl if hustle_specify == "Offloading containers and ships" |  hustle_specify=="Offloading containers" | hustle_specify=="Offloading container"|	hustle_specify=="Offloading Container"
			 | hustle_specify=="Off loading trucks, collect sand from the train trick." |  hustle_specify == "Off loading ship" |  hustle_specify=="Off loading kinoe" | hustle_specify=="Off loading container"
			 |	hustle_specify=="Off load truck"| hustle_specify=="Loading and offloading container" ;
			#delimit cr

			gl oth = "workoth1"
			gl repl = "carload"
			clother

			#delimit ;
			gl if hustle_specify == "Ludu board Gambling" |  hustle_specify=="I have lulu board that the boys used to gamble and I collect money after each game"
			 | hustle_specify=="Gambling" ;
			#delimit cr

			gl oth = "workoth1"
			gl repl = "gambling"
			clother

			#delimit ;
			gl if hustle_specify == "Fishing on the beach" |  hustle_specify=="Fishing" ;
			#delimit cr

			gl oth = "workoth1"
			gl repl = "fish"
			clother


			* Other
			count if  other_specify_1_e!="" &  other_specify_2_e!="" & other_specify_3_e!="" & other_specify_4_e!="" ///
			 & other_specify_5_e!=. & other_specify_6_e==. & other_specify_7_e!=. & other_specify_8_e!=.

			gen other_specify=""
			forvalues x=1(1)8 {
				cap replace other_specify=other_specify_`x'_e if other_specify_`x'_e!=""
			}
			tab other_specify

			gl if other_specify_1_e == "sells medicine tablets" |  other_specify_1_e=="Selling recharge minutes"

			gl oth = "workoth1"
			gl repl = "buysell"
			clother

			gl if other_specify_1_e == "Fishing to earn money" |  other_specify_1_e=="Fishing job"  |  other_specify_1_e=="Fishing"  |  other_specify_1_e=="Finishing on sea"

			gl oth = "workoth1"
			gl repl = "fish"
			clother

			gl if other_specify_1_e == "Stealing, hajacking"

			gl oth = "workoth1"
			gl repl = "stealing"
			clother

			gl if other_specify_1_e == "Played Gamble"

			gl oth = "workoth1"
			gl repl = "gambling"
			clother


			* smallbusiness
			count if  smallbusiness_specify_1_e!="" &  smallbusiness_specify_2_e!="" & smallbusiness_specify_3_e!=. & smallbusiness_specify_4_e!=. ///
			 & smallbusiness_specify_5_e!=. & smallbusiness_specify_6_e==. & smallbusiness_specify_7_e!=. & smallbusiness_specify_8_e!=.

			gen smallbusiness_specify=""
			forvalues x=1(1)8 {
				cap replace smallbusiness_specify=smallbusiness_specify_`x'_e if smallbusiness_specify_`x'_e!=""
			}
			tab smallbusiness_specify


			#delimit ;
			gl if smallbusiness_specify_1_e == "Black Deeds Business" |  smallbusiness_specify_1_e=="Black deed business" |
			smallbusiness_specify_1_e=="Buy black deeds phones, laptops, and flash screen and sell them"|	smallbusiness_specify_1_e=="Buy stealing things from criminal and sell." ;
			#delimit cr

			gl oth = "workoth1"
			gl repl = "stealing"
			clother

			gl if smallbusiness_specify_1_e == "Fishing"

			gl oth = "workoth1"
			gl repl = "fish"
			clother

			gl if smallbusiness_specify_1_e == "Selling of opium grass"

			gl oth = "workoth1"
			gl repl = "drugsell"
			clother


			* houseboy
			count if  houseboy_specify_1_e!="" &  houseboy_specify_2_e!="" & houseboy_specify_3_e!="" & houseboy_specify_4_e!="" ///
			 & houseboy_specify_5_e!="" & houseboy_specify_6_e==. & houseboy_specify_7_e!=. & houseboy_specify_8_e!=.

			gen houseboy_specify=""
			forvalues x=1(1)8 {
				cap replace houseboy_specify=houseboy_specify_`x'_e if houseboy_specify_`x'_e!=""
			}
			tab houseboy_specify

			gl if houseboy_specify == "Fisherman helper" |   houseboy_specify == "Fishing" |  houseboy_specify == "Fishing job"

			gl oth = "workoth1"
			gl repl = "fish"
			clother


			* Others
			#delimit ;
			gl if pettytradespecify_e=="Selling opium" |  pettytradespecify_e=="Sell opium/grass" | pettytradespecify_e=="Sell opium" |  pettytradespecify_e=="Sell nacotic drugs" |
				pettytradespecify_e=="Sell grass or opium" |  pettytradespecify_e=="Selling opium" | pettytradespecify_e=="Sell opioun/grass" |  pettytradespecify_e=="Opium" ;
			#delimit cr
			gl oth = "pettytrade"
			gl repl = "drugsell"
			clother

			gl if pettytradespecify_b=="Sell Stolen items"
			gl oth = "pettytrade"
			gl repl = "stealing"
			clother4w_b

			gl if buysellspecify_e == "Sellling drug, (tablets)"
			gl oth = "pettytrade"
			gl repl = "drugsell"
			clother


	 // 3 --check other activity are empty at endline

		* Outstanding. in two instances we have data in workoth1 and workoth2 but no precision about the activities.
		* Will have to deal with that later.
		assert workoth2specify_e =="" | workoth2specify_e ==" "
		assert workoth1specify_e ==""
		*edit workoth12w_e- workoth22wbizstructamtunit_e

		assert workoth1specify_b ==""
		*assert  workoth14w_b ==0 |  workoth14w_b==. |  workoth14w_b==.d
		assert workoth2specify_b ==""
		*assert  workoth24w_b ==0 |  workoth24w_b==. |  workoth24w_b==.d

		drop workoth*



  // DESTRING NUMERIC VARIABLES

	qui ds , has(type string)
	foreach var in `r(varlist)' {
		destring `var', replace
	}
